DefaultRegularFont
ISaveOptions.DefaultRegularFont property
Devuelve o establece la fuente utilizada en caso de que no se encuentre la fuente de origen. Cadena de lectura y escritura.
public string DefaultRegularFont { get; set; }
Ejemplos
[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);
}
Ver También
- interface ISaveOptions
- namespace Aspose.Slides.Export
- assembly Aspose.Slides