ActiveReports.PdfExport Request technical support
NeverEmbedFonts Property
See Also  Example


Gets or sets a semicolon-delimited string of values indicating which fonts should not be embedded in the PDF document.

Syntax

Visual Basic (Declaration) 
Public Property NeverEmbedFonts As String
Visual Basic (Usage)Copy Code
Dim instance As PdfExport
Dim value As String
 
instance.NeverEmbedFonts = value
 
value = instance.NeverEmbedFonts
C# 
public string NeverEmbedFonts {get; set;}

Return Value

Semicolon-delimited string of font names.

Example

C#Copy Code
privateAvoidAbtnExport_Click(objectAsender,ASystem.EventArgsAe)
{
AAAArptDataDynamicsArptA=AnewArptDataDynamics();
AAAADataDynamics.ActiveReports.Export.Pdf.PdfExportApA=AnewADataDynamics.ActiveReports.Export.Pdf.PdfExport();
AAAAp.NeverEmbedFontsA=A"Arial;TimesANewARoman;Verdana";
AAAArpt.Run();
AAAAthis.arv.DocumentA=Arpt.Document;
AAAAp.Export(rpt.Document,AApplication.StartupPathA+A
"\\p.pdf");
}
Visual BasicCopy Code
PrivateASubAbtnExport_Click(ByValAsenderAAsASystem.Object,AByValAeAAsASystem.EventArgs)AHandlesAButton2.Click
AAAADimArptAAsANewArptDD
AAAADimApAAsANewADataDynamics.ActiveReports.Export.Pdf.PdfExport
AAAAp.NeverEmbedFontsA=A"Arial;TimesANewARoman;Verdana"
AAAArpt.Run()
AAAAMe.Viewer1.DocumentA=Arpt.Document
AAAAp.Export(rpt.Document,AApplication.StartupPathA&A"\p.pdf")
EndASub

Remarks

Never embedding any of the fonts used in your documents can reduce the PDF file size dramatically if many fonts are used.

See Also