Italic
Font.Italic property
Sant om teckensnittet är formaterat som kursiv stil.
public bool Italic { get; set; }
Exempel
Visar hur man skriver kursiverad 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