VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Fonts Namespace / FontProgramsControllerBase Class / GetPostScriptFontNames(Stream) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
GetPostScriptFontNames(Stream) Method (FontProgramsControllerBase)
In This Topic
Returns the PostScript names of the font.
Syntax
'Declaration

Public Shared Function GetPostScriptFontNames( _
ByVal fontStream
The stream containing the font program data.
As System.IO.Stream _
) As System.String[]
public static System.String[] GetPostScriptFontNames(
System.IO.Stream fontStream
)

Parameters

fontStream
The stream containing the font program data.

Return Value

The PostScript names of the font.
Exceptions
ExceptionDescription
Thrown if fontStream is null.
Thrown if fontStream is too short to contain a valid font program.
Remarks

In case of usual TTF or OTF fonts, this method returns an array containing one element; if stream contains a TrueType font collection (usually files with ".ttc" extension) then names of all fonts in the collection will be returned.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also