Sets the texture applied to this component in the specified display state.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetTextureByDisplayState( _
ByVal DisplayStateName As System.String, _
ByVal TextureIn As Texture _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IComponent2
Dim DisplayStateName As System.String
Dim TextureIn As Texture
Dim value As System.Boolean
value = instance.SetTextureByDisplayState(DisplayStateName, TextureIn) |
Parameters
- DisplayStateName
- Display state name
- TextureIn
- Texture
Return Value
True if texture is applied to the component, false if not
Example
See Also
Availability
SolidWorks 2010 SP1, Revision Number 18.1