NoTextRotation
TextBox.NoTextRotation property
Gets or sets a boolean value indicating either text of the TextBox should not rotate when the shape is rotated.
public bool NoTextRotation { get; set; }
Remarks
The default value is false
Examples
Shows how to disable text rotation when the shape is rotate.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
Shape shape = builder.InsertShape(ShapeType.Ellipse, 20, 20);
shape.TextBox.NoTextRotation = true;
doc.Save(ArtifactsDir + "Shape.NoTextRotation.docx");
See Also
- class TextBox
- namespace Aspose.Words.Drawing
- assembly Aspose.Words