FontItalicBi Property

True if the right-to-left text is formatted as italic.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public bool ItalicBi { get; set; }

Property Value

Type: Boolean
Examples
Shows how to insert and format right-to-left text.
DocumentBuilder builder = new DocumentBuilder();

// Signal to Microsoft Word that this run of text contains right-to-left text
builder.Font.Bidi = true;

// Specify the font and font size to be used for the right-to-left text
builder.Font.NameBi = "Andalus";
builder.Font.SizeBi = 48;

// Specify that the right-to-left text in this run is bold and italic
builder.Font.ItalicBi = true;
builder.Font.BoldBi = true;

// Specify the locale so Microsoft Word recognizes this text as Arabic - Saudi Arabia
// For the list of locale identifiers see https://docs.microsoft.com/en-us/deployoffice/office2016/language-identifiers-and-optionstate-id-values-in-office-2016
builder.Font.LocaleIdBi = 1025;

// Insert some Arabic text
builder.Writeln("مرحبًا");

builder.Document.Save(ArtifactsDir + "Font.Bidi.doc");
See Also