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