Methode · Note
GetBalloonPadding-Methode (Note)
Liefert den Innenabstand eines Ballons. Gilt nur bei der engsten Ballongröße.
Syntax
Function GetBalloonPadding() As DoubledAbstand = swNote.GetBalloonPaddingRückgabewert
Der Innenabstand des Ballons. Eine Einheit nennt die Hilfe nicht. Vermutlich sind es wie sonst in der API Meter.
Beispiel
' swNote ist eine Notiz (Note) mit Ballon, etwa aus der Auswahl.
If swNote.GetBalloonSize = swBF_Tightest Then
Debug.Print "Innenabstand: " & swNote.GetBalloonPadding * 1000 & " mm"
End IfBemerkungen
Der Wert gilt nur, wenn Note.GetBalloonSize swBF_Tightest liefert. Das Hilfebeispiel dazu heißt „Get BOM Balloon Properties“.
Siehe auch
Verfügbarkeit
SOLIDWORKS 2018
Englisches Original: INote::GetBalloonPadding in der SOLIDWORKS API-Hilfe ↗ (dort mit dem .NET-Namen)
Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.