public HPDF_STATUS setFontAndSize(
    Font font, 
    float size)

Sets the type of font and size leading.

Parameters

font

The handle of a font object.

size

The size of a font. ## Graphics Mode Before and after - GMode.pageDescription or GMode.textObject.