VintaSoft Imaging .NET SDK v9.1 for .NET
Vintasoft.Imaging.Pdf Namespace / FontProgramsControllerBase Class / GetPostScriptFontNames Method
The stream containing the font program data.



In This Topic
    GetPostScriptFontNames Method
    In This Topic
    Returns the PostScript names of the font.
    Syntax
    'Declaration
     
    Public Function GetPostScriptFontNames( _
       ByVal fontStream As Stream _
    ) As String()
    public string[] GetPostScriptFontNames( 
       Stream fontStream
    )
    public: string*[]* GetPostScriptFontNames( 
       Stream* fontStream
    ) 
    public:
    array<String^>^ GetPostScriptFontNames( 
       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 5 Preview 7; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also