Text Object Routines
All the text that you place on the chart is considered a 'text object', such as axis labels, chart titles, legends, etc. These subroutines allow you to change the default attributes of these 'text objects'.
General Text Box Routines
Initialize a Text Object
Set the "current" Text Object to be a previously initialized Text Object.
Get the name of the "current" Text Object.
Set the text of the "current" Text Object.
Font Routines
Set the font name and font index for the "current" Text Object.
Set the font index.
Set the font style (normal, bold, italic) for the "current" Text Object.
Set the font size for the "current" Text Object.
Set the height of the font for the "current" Text Object.
Set the width of the font for the "current" Text Object.
Set the font color for the "current" Text Object.
Text Box Routines
The 'text object' is always contained in a 'text box'. By default, the 'text box' is not visible. These routines allow you to change the attribute of the 'text box' to make it visible, change the borders, etc.
Set the alignment (position) of the "current" Text Box.
Set the background color for the "current" Text Object.
Set the edge color for the "current" Text Object.
Set the edge effect (Flat, Raised, or Depressed) of the "current" Text Object.
Set the edge width of the "current" Text Object.
Set the corner style (Square or Rounded) of the "current" Text Object.
Set the corner radius of the "current" Text Object.
Set the radius of the Top Left corner of the "current" Text Object.
Set the radius of the Top Right corner of the "current" Text Object.
Set the radius of the Bottom Right corner of the "current" Text Object.
Set the radius of the Bottom Left corner of the "current" Text Object.
Set the offset (x and y) of the "current" Text Object.
Set the x offset of the "current" Text Object.
Set the y offset of the "current" Text Object.
Set the size (height and width) of the "current" Text Object.
Set the height of the "current" Text Object.
Set the width of the "current" Text Object.
Set the Z Order of the "current" Text Object.
Text Format Routines
Set the maximum size (width and height) of the text that can be displayed in the "current" Text Object.
Set the maximum width (in pixels) of the text that can be displayed in the "current" Text Object.
Set the maximum height (in lines) of the text that can be displayed in the "current" Text Object.
Set the margins for the text in the "current" Text Object.
Set the Left margin for the text in the "current" Text Object.
Set the Right margin for the text in the "current" Text Object.
Set the Top margin for the text in the "current" Text Object.
Set the Bottom margin for the text in the "current" Text Object.
Set the rotation angle for the text in the "current" Text Object.
Set the alignment of the text in the "current" Text Object.
Set the layout direction of the text(horizontal or Vertical) in the "current" Text Object.
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2011-11-24