TextHorizontalAlignment
Shape.TextHorizontalAlignment property
Hämtar och ställer in textens horisontella anpassningstyp för formen.
public TextAlignmentType TextHorizontalAlignment { get; set; }
Exempel
[C#]
if (shape.TextHorizontalAlignment == Aspose.Cells.TextAlignmentType.Bottom)
shape.TextHorizontalAlignment = Aspose.Cells.TextAlignmentType.Center;
Se även
- enum TextAlignmentType
- class Shape
- namnutrymme Aspose.Cells.Drawing
- hopsättning Aspose.Cells