GetFontFlags

Fonts

Description

Returns the value of the specified bit in the flags property of the selected font.

Syntax

Delphi

function TPDFlib.GetFontFlags(FontFlagItemID: Integer): Integer;

ActiveX

Function PDFlib::GetFontFlags(FontFlagItemID As Long) As Long

DLL

int DLGetFontFlags(int InstanceID, int FontFlagItemID);

Parameters

FontFlagItemID1 = Fixed 2 = Serif 3 = Symbolic 4 = Script 5 = Italic 6 = AllCap 7 = SmallCap 8 = ForceBold

Return values

0Flag is not set
1Flag is set