|
|
Renders a registered bitmap
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub Bitmap ( _ index As Integer, _ origin As Point2D, _ width As UInteger, _ height As UInteger, _ alpha As Double _ ) |
| C# |
|---|
public void Bitmap( int index, Point2D origin, uint width, uint height, double alpha ) |
| Visual C++ |
|---|
public: void Bitmap( int index, Point2D^ origin, unsigned int width, unsigned int height, double alpha ) |
Parameters
- index
- Type: System..::..Int32
Index of the registered bitmap to render.
- origin
- Type: Autodesk.Navisworks.Api..::..Point2D
Origin point of the bitmap.
- width
- Type: System..::..UInt32
Width of the image you want to render.
- height
- Type: System..::..UInt32
Height of the image you want to render.
- alpha
- Type: System..::..Double
Overall alpha value for the bitmap.
Remarks
The bitmaps should have previously been registered with the application.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ObjectDisposedException | Object has been Disposed |
| System..::..NotSupportedException | Object is Read-Only |
| System..::..ArgumentNullException | Argument 'origin' is null |
| System..::..ArgumentException | Argument 'origin' has been Disposed |