SolidWorksMakroprogrammierung

Eigenschaft · TableAnnotation

TextHorizontalJustification-Eigenschaft (TableAnnotation)

Liest oder setzt die waagrechte Ausrichtung des Texts für die ganze Tabelle.

Syntax

Property TextHorizontalJustification As Long
swTable.TextHorizontalJustification = swTextJustificationCenter

Wert

Die Ausrichtung aus swTextJustification_e: swTextJustificationLeft, swTextJustificationCenter oder swTextJustificationRight.

Beispiel

' swTable ist eine Tabelle (TableAnnotation), etwa aus View.GetFirstTableAnnotation2.
swTable.TextHorizontalJustification = swTextJustificationLeft

Bemerkungen

Für einzelne Zellen gibt es TableAnnotation.CellTextHorizontalJustification. Was mit Zellen passiert, die schon eine eigene Ausrichtung haben, sagt die Hilfe nicht.

Siehe auch

Verfügbarkeit

SOLIDWORKS 2004

Englisches Original: ITableAnnotation::TextHorizontalJustification in der SOLIDWORKS API-Hilfe ↗ (dort mit dem .NET-Namen)

Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.