Hide Table of Contents
SetOffsets Method (IBalloonSettings)

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)
C# 
System.bool SetOffsets( 
   System.int Type,
   System.bool IsVisible,
   System.double X_Offset,
   System.double Y_Offset
)
C++/CLI 
System.bool SetOffsets( 
&   System.int Type,
&   System.bool IsVisible,
&   System.double X_Offset,
&   System.double 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

X_Offset and Y_Offset are from the upper left-hand corner of the attribute to the upper left-hand corner of the balloon. The offsets can be positive or negative numbers.

For more information, see the Ballooning Settings PropertyManager - Offsets section of the SOLIDWORKS Inspection Add-in user-interface help > SOLIDWORKS Inspection > SOLIDWORKS Inspection Add-in > Getting Started > Balloons topic.

 

See Also

Availability

SOLIDWORKS Inspection API 2022 FCS


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   SetOffsets Method (IBalloonSettings)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2022 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.