|
![]() |
Set texture image index.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
Visual Basic |
---|
Public Sub SetTexture ( _ imageId As Integer _ ) |
C# |
---|
public void SetTexture( int imageId ) |
Visual C++ |
---|
public: void SetTexture( int imageId ) |
Parameters
- imageId
- Type: System..::..Int32
image index registered by Application.RegisterBitmap API.
Exceptions
Exception | Condition |
---|---|
System..::..ObjectDisposedException | Object has been Disposed |
System..::..NotSupportedException | Object is Read-Only |