VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Fonts Namespace / FontProgramsControllerBase Class / GetCIDFontProgram(FontInfo) Method
Syntax Remarks Requirements SeeAlso
In This Topic
GetCIDFontProgram(FontInfo) Method (FontProgramsControllerBase)
In This Topic
Returns a CID font program using specified font info.
Syntax
'Declaration

Public Overridable Function GetCIDFontProgram( _
ByVal fontInfo
The font info.
As FontInfo _
) As FontProgramSearchResult
public virtual FontProgramSearchResult GetCIDFontProgram(
FontInfo fontInfo
)

Parameters

fontInfo
The font info.

Return Value

The FontProgramSearchResult that contains the font program if font is found successfully; otherwise, null.
Remarks

Method is executed when external CID font is needed for drawing text on document page or text extraction from document page but font is not found in document.

Application code must analyze font name and provide font that will be used instead of font with specified font name.

Text drawing on document page or text extraction from document page will be interrupted with error if this method returns null.

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