|
|
Generates a Thumbnail Image for this Document, and save it as a PNG image
Namespace: Autodesk.Navisworks.Api.ApplicationParts
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub GenerateThumbnail ( _ width As Integer, _ height As Integer, _ fileName As String _ ) |
| C# |
|---|
public void GenerateThumbnail( int width, int height, string fileName ) |
| Visual C++ |
|---|
public: void GenerateThumbnail( int width, int height, String^ fileName ) |
Parameters
- width
- Type: System..::..Int32
The width of the image
- height
- Type: System..::..Int32
The height of the image
- fileName
- Type: System..::..String
The file name of the saved image
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidOperationException | Fail to generate the thumbnail |