Page 1 of 1

ExportPdf defaults: what are?

Posted: Sun Apr 29, 2007 5:06 pm
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.

ExportPdf defaults: what are?

Posted: Sun Apr 29, 2007 11:31 pm
by Vital
Please check StiPdfExportSettings class.

Thank you.

ExportPdf defaults: what are?

Posted: Mon Apr 30, 2007 3:09 am
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.

ExportPdf defaults: what are?

Posted: Mon Apr 30, 2007 7:28 am
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.