This documentation is archived and is not being maintained.

GlyphTypeface.Copyrights Property

Gets the copyright information for the GlyphTypeface object.

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

public IDictionary<CultureInfo, string> Copyrights { 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

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.