Render the specified text to the specifed
Graphics device. The text, border, and fill options
will be rendered as required.
| C# | Visual Basic | Visual C++ |
- g (Graphics)
- A graphic device object to be drawn into. This is normally e.Graphics from the PaintEventArgs argument to the Paint() method.
- pane (PaneBase)
- A reference to the PaneBase object that is the parent or owner of this object.
- text (String)
- A string value containing the text to be displayed. This can be multiple lines, separated by newline ('\n') characters
- x (Single)
- The X location to display the text, in screen coordinates, relative to the horizontal (AlignH) alignment parameter alignH
- y (Single)
- The Y location to display the text, in screen coordinates, relative to the vertical (AlignV alignment parameter alignV
- alignH (AlignH)
- A horizontal alignment parameter specified using the AlignH enum type
- alignV (AlignV)
- A vertical alignment parameter specified using the AlignV enum type
- scaleFactor (Single)
- The scaling factor to be used for rendering objects. This is calculated and passed down by the parent GraphPane object using the CalcScaleFactor()() method, and is used to proportionally adjust font sizes, etc. according to the actual size of the graph.
