Italic
Font.Italic property
True if the font is formatted as italic.
public bool Italic { get; set; }
Examples
Shows how to write italicized text using a document builder.
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");
See Also
- class Font
- namespace Aspose.Words
- assembly Aspose.Words