Sets whether to balloon the specified offset type in the document and gets the current offsets for the specified offset type.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetOffsets( _
ByVal Type As System.Integer, _
ByVal IsVisible As System.Boolean, _
ByVal X_Offset As System.Double, _
ByVal Y_Offset As System.Double _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IBalloonSettings
Dim Type As System.Integer
Dim IsVisible As System.Boolean
Dim X_Offset As System.Double
Dim Y_Offset As System.Double
Dim value As System.Boolean
value = instance.SetOffsets(Type, IsVisible, X_Offset, Y_Offset) |
Parameters
- Type
- Offset type as defined by swiBalloonSettingsOffsetTypes_e
- IsVisible
- True to balloon the offset type in the document, false to just include it in the inspection report
- X_Offset
- X offset for the default location of the balloons
- Y_Offset
- Y offset for the default location of the balloons
Return Value
True if offset settings successfully set, false if not
Remarks
See Also
Availability
SOLIDWORKS Inspection API 2022 FCS