Creates and adds the 2D text to the surface.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public XText2D AddText( string text, Rectangle clip, DrawTextFormat format ) |
Parameters
- text
- Type: System..::.String
Displayed text.
- clip
- Type: System.Drawing..::.Rectangle
The clipping rectangle for the visible part of the text.
- format
- Type: DrawTextFormat
The DrawTextFormat text format defines way of displaying the text.