Browse our Products Toggle navigation
If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
Introducing the following properties in the Fill class:
Fill
ForeThemeColor
BackThemeColor
ForeTintAndShade
BackTintAndShade
Easily manage and control the document styling by setting the theme colors, fill colors, tint and shade, using this new functionality in the API.
The following C# code sample demonstrates how to apply theme colors and also set the tint and shade within a DOCX, using API:
Document doc = new Document("in.docx"); Fill shapeFill = (doc.GetChild(NodeType.Shape, 0, true) as Shape).Fill; // Gets and sets the value of theme colors. if (shapeFill.ForeThemeColor == ThemeColor.Accent1) shapeFill.ForeThemeColor = ThemeColor.Dark1; if (shapeFill.BackThemeColor == ThemeColor.Accent2) shapeFill.BackThemeColor = ThemeColor.Dark2; Fill textFill1 = doc.FirstSection.Body.FirstParagraph.Runs[0].Font.Fill; // Gets and sets the tint value. if (textFill1.ForeTintAndShade == 0) textFill1.ForeTintAndShade = 0.5; Fill textFill2 = doc.FirstSection.Body.FirstParagraph.Runs[1].Font.Fill; // Gets and sets the shade value. if (textFill2.ForeTintAndShade == 0) textFill2.ForeTintAndShade = -0.2; doc.Save("out.docx");
Source*
We’ve added a valuable property, NoTextRotation, to the Aspose.Words.Drawing.TextBox class. Easily control and lock text rotation with this API feature.
NoTextRotation
Aspose.Words.Drawing.TextBox
The following C# code sample shows how to lock rotation of text using API:
DocumentBuilder builder = new DocumentBuilder(); Shape shape = builder.InsertShape(ShapeType.Ellipse, 20, 20); shape.TextBox.NoTextRotation = true;
For a complete list of features, enhancements, and bug fixes in this release please visit, Aspose.Words for .NET 23.3 Release Notes.