Description
Removes a fallback font.
Applies to
Syntax
RemoveFallbackFont (long index)
RemoveFallbackFont (string fontName)
Return value
Long. Returns 1 if the function succeeds, and -1 if the function fails. For more errors, see the Error Codes.
Examples
This example removes a fallback font from the table of contents according to the font index.
long ll_remove //Remove the font whose index=1 ll_remove = lpdf_toc.removefallbackfont (1)
This example removes a fallback font from the table of contents according to the font name.
//Remove the font whose name is Microsoft YaHei ll_remove = lpdf_toc.removefallbackfont ("Microsoft YaHei")
See also