共用方式為


GlyphTypeface.Copyrights 屬性

定義

取得 GlyphTypeface 物件的著作權資訊。

public:
 property System::Collections::Generic::IDictionary<System::Globalization::CultureInfo ^, System::String ^> ^ Copyrights { System::Collections::Generic::IDictionary<System::Globalization::CultureInfo ^, System::String ^> ^ get(); };
public System.Collections.Generic.IDictionary<System.Globalization.CultureInfo,string> Copyrights { [System.Security.SecurityCritical] get; }
public System.Collections.Generic.IDictionary<System.Globalization.CultureInfo,string> Copyrights { get; }
[<get: System.Security.SecurityCritical>]
member this.Copyrights : System.Collections.Generic.IDictionary<System.Globalization.CultureInfo, string>
member this.Copyrights : System.Collections.Generic.IDictionary<System.Globalization.CultureInfo, string>
Public ReadOnly Property Copyrights As IDictionary(Of CultureInfo, String)

屬性值

IDictionary<TKey,TValue> 物件,包含表示著作權資訊的索引鍵值組。 索引鍵是可識別文化特性的 CultureInfo 物件。 這個值是著作權資訊字串。

屬性

範例

下列範例示範如何傳回 物件的著作權資訊 GlyphTypeface 集合。

// Create a glyph typeface by referencing the Pericles OpenType font.
GlyphTypeface glyphTypeface = new GlyphTypeface(new Uri("file:///C:\\WINDOWS\\Fonts\\Peric.ttf"));

// Retrieve the copyright information for the Pericles OpenType font.
IDictionary<CultureInfo, string> dictionary = glyphTypeface.Copyrights;
foreach (KeyValuePair<CultureInfo, string> kvp in dictionary)
{
    // Retrieve the key/value pair information.
}
' Create a glyph typeface by referencing the Pericles OpenType font.
Dim glyphTypeface As New GlyphTypeface(New Uri("file:///C:\WINDOWS\Fonts\Peric.ttf"))

' Retrieve the copyright information for the Pericles OpenType font.
Dim dictionary As IDictionary(Of CultureInfo, String) = glyphTypeface.Copyrights
For Each kvp As KeyValuePair(Of CultureInfo, String) In dictionary
    ' Retrieve the key/value pair information.
Next kvp

備註

屬性 Copyrights 與 屬性存取的 Trademarks 商標資訊不同。

適用於

另請參閱