Browse our Products

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.

 

Aspose.Words for .NET 23.3

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 85.54MB
  • Date Added:
  • 6/3/2023

Description

It contains Aspose.Words for .NET 23.3 MSI installer.

File Details

Enhanced Fill Class with Theme Colors and Tint/Shade

Introducing the following properties in the Fill class:

  • ForeThemeColor: Gets or sets the foreground color for the fill
  • BackThemeColor: Gets or sets the background color for the fill
  • ForeTintAndShade: Gets or sets the value that lightness or darkness of the foreground color
  • BackTintAndShade: Gets or sets the value that lightness or darkness of the background color

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*

Lock Text Rotation in Textbox

We’ve added a valuable property, NoTextRotation, to the Aspose.Words.Drawing.TextBox class. Easily control and lock text rotation with this API feature.

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;

Source*

For a complete list of features, enhancements, and bug fixes in this release please visit, Aspose.Words for .NET 23.3 Release Notes.

 English