VpeSetFontName

<< Click to Display Table of Contents >>

Navigation:  Text Functions >

VpeSetFontName

Previous pageReturn to chapter overviewNext page

Sets a font. You can only select True-Type fonts installed on the machine on which VPE is running. Other fonts than True-Type fonts are not supported.

void VpeSetFontName(

VpeHandle hDoc,

LPCSTR name,

)

VpeHandle hDoc

Document Handle or VPE Object Handle

LPCSTR name

font name (e.g. "Arial")

Default:

Platform

Value

Windows and Mac OS X

Arial

Any other

Helvetica

Remarks:

VPE can only handle True-Type fonts and the 14 built-in PostScript fonts. It can not use bitmap fonts, like for example “MS Sans Serif”.

 

For important details about fonts and font handling, please see the Programmer's Manual, chapter "Programming Techniques", subchapter "Fonts and Font Handling".