|
![]() |
Renders 2D text.Text is rendered in 2D as bitmaps. It always faces the viewer.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
Visual Basic |
---|
Public Sub Text2D ( _ fontInfo As TextFontInfo, _ text As String, _ origin As Point2D, _ offsetX As Integer, _ offsetY As Integer _ ) |
C# |
---|
public void Text2D( TextFontInfo fontInfo, string text, Point2D origin, int offsetX, int offsetY ) |
Visual C++ |
---|
public: void Text2D( TextFontInfo^ fontInfo, String^ text, Point2D^ origin, int offsetX, int offsetY ) |
Parameters
- fontInfo
- Type: Autodesk.Navisworks.Api..::..TextFontInfo
- text
- Type: System..::..String
- origin
- Type: Autodesk.Navisworks.Api..::..Point2D
- offsetX
- Type: System..::..Int32
- offsetY
- Type: System..::..Int32
Exceptions
Exception | Condition |
---|---|
System..::..ObjectDisposedException | Object has been Disposed |
System..::..NotSupportedException | Object is Read-Only |
System..::..ArgumentException | Argument 'fontInfo' has been Disposed |
System..::..ArgumentNullException | Argument 'origin' is null |
System..::..ArgumentException | Argument 'origin' has been Disposed |