Defines the font characteristics for the text command. Use of the Font parameter within a text command defines the value for that single text command. The default font is Helvetica, 8, black.
font [name=]FontName [,[size=]FontSize] [,[color=]FontColor] [,bold] [,italic] [,underline] [,strike] [,normal]
font FontName [,FontSize] [,FontColor] [,bold] [,italic] [,underline] [,strike] [,normal]
font FontName[:FontSize][:FontColor][:bold][:italic][:underline][:strike][:normal]
FontName
Font name. Name should be a valid font name. Popular names are Helvetica, Courier. Explicit or implicit (first position)
FontSize
Font size. Explicit or implicit (numeric value)
FontColor
Color of the font. Explicit or implicit (valid
color name) Valid values:
AQUA ,BLACK, BLUE, CREAM, DKGRAY, FUCHSIA, GRAY, GREEN, LIME, LTGRAY, MAROON,
MEDGRAY, MOGREEN, NAVY, OLIVE, PURPLE, RED, SILVER, SKYBLUE, WHITE, TEAL,
YELLOW
bold
Font has bold style
italic
Font has italic style
underline
Font has underline style
strike
Font has strike-through style
normal
Font has normal style
Command is applied to all text commands that follow font command.
Command is in effect until another font command.
font parameter of text command overrides one specified in font command.
font Helvetica, 10, red, bold
font Helvetica:red:underline:8.5
font size=12, name=Courier, bold, color=blue
Format |
Meaning |
Italic |
Information
that the user must supply |
Bold |
Elements that the user must type exactly as shown. |
Between brackets ([]) |
Optional
items |
Ellipsis (...) |
Parameter that can be repeated several times |