Sets the transparency parameters of this picture on the sketch.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ISketchPicture
Dim Style As Integer
Dim Transparency As Double
Dim MatchingColor As Integer
Dim MatchingTolerance As Double
Dim value As Boolean
value = instance.SetTransparency(Style, Transparency, MatchingColor, MatchingTolerance)
|
Parameters
- Style
- Style as defined byswSketchPictureTransparencyStyle_e
- Transparency
-
-
1 = transparent
describing the relative transparency depending on the value of Style
- MatchingColor
- RGB color used as the transparent color when Style is swSketchPictureTransparencyUserDefined
- MatchingTolerance
-
-
1 = less exact match
indicating how closely MatchingColor must be to be considered a transparent color when Style is swSketchPictureTransparencyUserDefined
Return Value
True if transparency is set, false if not
See Also
Availability
SolidWorks 2008 FCS, Revision Number 16.0