DefaultRegularFont
SaveOptions.DefaultRegularFont-Eigenschaft
Gibt die Schriftart zurück oder legt sie fest, die verwendet wird, falls die Quellschriftart nicht gefunden wird. Lese- und schreibbare Zeichenfolge.
public string DefaultRegularFont { get; set; }
Beispiele
[C#]
using (Presentation pres = new Presentation("SomePresentation.pptx"))
{
HtmlOptions htmlOpts = new HtmlOptions();
htmlOpts.DefaultRegularFont = "Arial Black";
pres.Save(@"SomePresentation-out-ArialBlack.html", SaveFormat.Html, htmlOpts);
htmlOpts.DefaultRegularFont = "Lucida Console";
pres.Save(@"SomePresentation-out-LucidaConsole.html", SaveFormat.Html, htmlOpts);
PdfOptions pdfOpts = new PdfOptions();
pdfOpts.DefaultRegularFont = "Arial Black";
pres.Save(@"SomePresentation-out-ArialBlack.pdf", SaveFormat.Pdf, pdfOpts);
}
Siehe auch
- Klasse SaveOptions
- Namespace Aspose.Slides.Export
- Assembly Aspose.Slides