VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Pdf Namespace / PdfFontManager Class / GetTrueTypeFontFromFontCollection(Stream,String) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
GetTrueTypeFontFromFontCollection(Stream,String) Method (PdfFontManager)
In This Topic
Returns the TrueType Font with specified name from TrueType Font Collection (TTC).
Syntax
'Declaration

Public Function GetTrueTypeFontFromFontCollection( _
ByVal stream
The stream.
As System.IO.Stream, _
ByVal fontName
Name of the font.
As System.String _
) As System.IO.Stream
public System.IO.Stream GetTrueTypeFontFromFontCollection(
System.IO.Stream stream,
System.String fontName
)

Parameters

stream
The stream.
fontName
Name of the font.

Return Value

The TrueType Font with specified name from TrueType Font Collection (TTC).
Exceptions
ExceptionDescription
If stream does not contain .tcc file.
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