Sets the transparency parameters of this picture on the sketch.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ISketchPicture
Dim Style As System.Integer
Dim Transparency As System.Double
Dim MatchingColor As System.Integer
Dim MatchingTolerance As System.Double
Dim value As System.Boolean
value = instance.SetTransparency(Style, Transparency, MatchingColor, MatchingTolerance) |
Parameters
- Style
- Style as defined by swSketchPictureTransparencyStyle_e
- Transparency
- 0 = opaque
- 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
- 0 = exact match
- 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