|
|
Returns font metrics.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Function GetFontMetrics ( _ fontInfo As TextFontInfo, _ metrics As TextFontMetrics _ ) As Boolean |
| C# |
|---|
public bool GetFontMetrics( TextFontInfo fontInfo, TextFontMetrics metrics ) |
| Visual C++ |
|---|
public: bool GetFontMetrics( TextFontInfo^ fontInfo, TextFontMetrics^ metrics ) |
Parameters
- fontInfo
- Type: Autodesk.Navisworks.Api..::..TextFontInfo
- metrics
- Type: Autodesk.Navisworks.Api..::..TextFontMetrics
Exceptions
| Exception | Condition |
|---|---|
| System..::..ObjectDisposedException | Object has been Disposed |
| System..::..NotSupportedException | Object is Read-Only |
| System..::..ArgumentException | Argument 'fontInfo' has been Disposed |
| System..::..ArgumentException | Argument 'metrics' has been Disposed |