VpeSetItalic

<< Click to Display Table of Contents >>

Navigation:  Text Functions >

VpeSetItalic

Previous pageReturn to chapter overviewNext page

Sets text italic on / off

void VpeSetItalic(

VpeHandle hDoc,

int italic

)

VpeHandle hDoc

Document Handle or VPE Object Handle

int underlined

Value

Description

True

italic

False

not italic

Default:

False

Remarks:

Italic fonts are a bit higher than non-italic fonts. This is caused by the Windows System GDI. The consequence is, that italic text needs more height, which might result in clipped (not drawn) text, in case the height returned by a text-render method for a non-italic font is used for an italic font.