Eigenschaft · TableAnnotation
AnchorType-Eigenschaft (TableAnnotation)
Liest oder setzt, mit welcher Ecke eine Tabelle an ihrem Ankerpunkt hängt.
Syntax
Property AnchorType As LongswTable.AnchorType = swBOMConfigurationAnchor_TopRightWert
Ein Wert aus swBOMConfigurationAnchorType_e:
swBOMConfigurationAnchor_TopLeft(1): oben linksswBOMConfigurationAnchor_TopRight(2): oben rechtsswBOMConfigurationAnchor_BottomLeft(3): unten linksswBOMConfigurationAnchor_BottomRight(4): unten rechts
Beispiel
' swTable ist eine Tabelle (TableAnnotation), etwa aus View.GetFirstTableAnnotation2.
swTable.AnchorType = swBOMConfigurationAnchor_BottomRight
swTable.Anchored = TrueBemerkungen
Der Wert bestimmt auch, welchen Punkt Annotation.GetPosition und Annotation.SetPosition2 bei einer Tabelle meinen. Die Enumeration heißt nach Stücklisten, die Hilfe nennt sie aber für alle Tabellen. Das Hilfebeispiel dazu heißt „Get and Set Table Anchor of Hole Table“.
Siehe auch
Verfügbarkeit
SOLIDWORKS 2004
Englisches Original: ITableAnnotation::AnchorType in der SOLIDWORKS API-Hilfe ↗ (dort mit dem .NET-Namen)
Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.