編集

次の方法で共有


GlyphTypeface.Copyrights Property

Definition

Gets the copyright information for the GlyphTypeface object.

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)

Property Value

An IDictionary<TKey,TValue> object that contains key/value pairs that represent copyright information. The key is a CultureInfo object that identifies the culture. The value is a copyright information string.

Attributes

Examples

The following example shows how to return the collection of copyright information for the GlyphTypeface object.

// 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

Remarks

The Copyrights property is separate from the trademark information that is access by the Trademarks property.

Applies to

See also