GetFallbackFont

Description

Gets the name of the fallback font.

Applies to

PDFTableOfContents object

PDFTableOfContentsItem object

PDFText object

PDFTextBlock object

PDFMultiLineText object

Syntax

string GetFallbackFont (long index)

Argument

Description

index

The index of the font you want to get.


Return value

String. Returns the font name if the function succeeds, and returns an empty string if the function fails.

Examples

This example gets the name of fallback font whose index=1 in the table of contents.

string ls_font
ls_font = lpdf_toc.getfallbackfont (1)

See also

AddFallbackFont

GetFallbackFontCount

GetFallbackFont

RemoveFallbackFont

RemoveAllFallbackFont

GetFont

SetFont