GlyphTypeface.Copyrights Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the copyright information for the GlyphTypeface object.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public IDictionary<CultureInfo, string> Copyrights {
	[SecurityCriticalAttribute]
	get;
}

Property Value

Type: System.Collections.Generic.IDictionary<CultureInfo, String>

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.

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

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.
}

.NET Framework
Available since 3.0
Return to top
Show: