Sets a custom color.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetCustomColor( _
ByVal Index As System.Integer, _
ByVal ColorRef As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IColorTable
Dim Index As System.Integer
Dim ColorRef As System.Integer
Dim value As System.Boolean
value = instance.SetCustomColor(Index, ColorRef) |
C# | |
---|
System.bool SetCustomColor(
System.int Index,
System.int ColorRef
) |
C++/CLI | |
---|
System.bool SetCustomColor(
& System.int Index,
& System.int ColorRef
) |
Parameters
- Index
Index of the custom color to set
- ColorRef
COLORREF value
Return Value
True if successful, false if not
See Also
Availability
SOLIDWORKS 2001 FCS, Revision Number 9.0