Italic
Font.Italic property
Sant om teckensnittet är formaterat som kursivt.
public bool Italic { get; set; }
Exempel
Visar hur man skriver kursiv text med hjälp av en dokumentbyggare.
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");
Se även
- class Font
- namnutrymme Aspose.Words
- hopsättning Aspose.Words