GlyphTypeface.ComputeSubset Method (ICollection<UInt16>)

 
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.

Returns the binary image of the font subset based on a specified collection of glyphs.

This API is not CLS-compliant.

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

[SecurityCriticalAttribute]
[CLSCompliantAttribute(false)]
public byte[] ComputeSubset(
	ICollection<ushort> glyphs
)

Parameters

glyphs
Type: System.Collections.Generic.ICollection<UInt16>

The collection of glyph indices to be included in the subset.

Return Value

Type: System.Byte[]

A Byte array that represents the binary image of the font subset.

FileIOPermission

for reading the contents of the specified glyphs. Associated enumeration: FileIOPermissionAccess.Read

.NET Framework
Available since 3.0
Return to top
Show: