FontItalic Property

True if the font is formatted as italic.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.10.0

ExpandedSyntax

public bool Italic { get; set; }

Property Value

Type: Boolean

ExpandedExamples

Shows how to italicize a run of text.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.Font.Size = 36;
builder.Font.Italic = true;

builder.Writeln("Hello world!");

doc.Save(ArtifactsDir + "Font.Italic.docx");

ExpandedSee Also