<< Click to Display Table of Contents >> VpeSelectFont |
The same as VpeSetFont().
Selects a font and its size. The default is "Arial” and 10 pt. You can only select True-Type fonts installed on the machine on which VPE is running.
void VpeSelectFont(
VpeHandle hDoc,
LPCSTR name,
int size
)
VpeHandle hDoc
Document Handle or VPE Object Handle
LPCSTR name
font name (e.g. "Arial")
int size
font size in points (not in metric or inch units!)
Default:
Platform |
Value |
Windows and Mac OS X |
Arial, 10pt |
Any other |
Helvetica, 10pt |
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".