ExportPdf defaults: what are?

Stimulsoft Reports.NET discussion
Post Reply
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

ExportPdf defaults: what are?

Post by Fabio Pagano »

What are the ExportPdf method defaults?

Example, if i use the overload that doesn't specify compression, what is the compression default? The same for "embeddedFonts", "standardPdfFonts" and all other parameters.

Thanks.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

ExportPdf defaults: what are?

Post by Vital »

Please check StiPdfExportSettings class.

Thank you.
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

ExportPdf defaults: what are?

Post by Fabio Pagano »

I have searched in object browser and your documentation, but i still can't find the defaults. Can you point me to the right direction?

Thanks.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

ExportPdf defaults: what are?

Post by Edward »

The defalult parameters for the instance of the StiPdfExportSettings class is following:

float imageQuality = 1;
float imageResolution = 100;
bool embeddedFonts = true;
bool standardPdfFonts = false;
bool compressed = true;
bool exportRtfTextAsImage = false;
string passwordInputUser = string.Empty;
string passwordInputOwner = string.Empty;
StiUserAccessPrivileges userAccesPrivileges = StiUserAccessPrivileges.All;
StiPdfEncryptionKeyLength keyLength = StiPdfEncryptionKeyLength.Bit40;
bool useUnicode = true;

It is the default parameters for the Pdf export.

Thank you.
Post Reply