|
|
Returns the extents of 2D text.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Function Text2DExtents ( _ fontInfo As TextFontInfo, _ text As String _ ) As TextExtents2D |
| C# |
|---|
public TextExtents2D Text2DExtents( TextFontInfo fontInfo, string text ) |
| Visual C++ |
|---|
public: TextExtents2D^ Text2DExtents( TextFontInfo^ fontInfo, String^ text ) |
Exceptions
| Exception | Condition |
|---|---|
| System..::..ObjectDisposedException | Object has been Disposed |
| System..::..NotSupportedException | Object is Read-Only |
| System..::..ArgumentException | Argument 'fontInfo' has been Disposed |