DocumentBuilderItalic Property
True if the font is formatted as italic.

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

Property Value

Type: Boolean
Examples
Fills document merge fields with some data.
Document doc = new Document(MyDir + "DocumentBuilder.FillingDocument.doc");
DocumentBuilder builder = new DocumentBuilder(doc);

builder.MoveToMergeField("TeamLeaderName");
builder.Bold = true;
builder.Writeln("Roman Korchagin");

builder.MoveToMergeField("SoftwareDeveloper1Name");
builder.Italic = true;
builder.Writeln("Dmitry Vorobyev");

builder.MoveToMergeField("SoftwareDeveloper2Name");
builder.Italic = true;
builder.Writeln("Vladimir Averkin");

doc.Save(ArtifactsDir + "DocumentBuilder.FillingDocument.doc");
See Also