Setting Text and Graphic Attributes

The following routines are used to set the default text and graphic attributes of a document. These attributes determine the color, font, etc. of subsequently added document elements:

setTextFont Sets the default text font for non-styled text data

setTextSize Sets the default text size for non-styled text data

setTextStyle Sets the default text style for non-styled text data

setTextJust Sets the line justification of text elements

setTextLineSpacing Sets the line spacing of text elements

setColor Sets the default color of text and graphic elements

setGray Sets the default gray value of text and graphic elements

setLineWeight Sets the line weight of stroked graphic elements