VectorFont()

Syntax

VectorFont(FontID [, Size.d])
Description
Specifies the font to use for vector drawing.
Only vector fonts are allowed, like TrueType, bitmap fonts are not allowed.

Parameters

FontID The FontID() of the font to use for drawing.
Size.d (optional) Specifies the size for the font. The size is measured in the units of the vector drawing output. If no size is specified, then the size used in the LoadFont() command for the font will be converted to the current vector drawing unit.

Return value

None.

Remarks

You cannot use a registered font with RegisterFontFile().

See Also

DrawVectorText(), DrawVectorParagraph(), VectorTextWidth(), VectorTextHeight(), VectorParagraphHeight()

Supported OS

All

<- TranslateCoordinates() - VectorDrawing Index - VectorOutputHeight() ->