SetSaveAsOptionDefaultString

This method sets the default values of the Save As Option dialog. This method can set the default string values. Use the SetSaveAsOptionDefaultValue method to set the default values of numeric types. The default value means that the Save As dialog uses this value when it will be displayed. For example the SAVEAS_OUTPUTPATH specifies the default output folder displayed when the Save As dialog appears.

 

SetSaveAsOptionDefaultString (pDevMode As Long, iSaveAsProp As Long, szValue As String) As Boolean

 

Input value pDevMode:    - pointer to the BlackIceDEVMODE structure.

Input value iSaveAsProp:            - the string property. Available values:

enumSaveAsStringProps.SAVEAS_OUTPUTPATH (0)

enumSaveAsStringProps.SAVEAS_FILENAME (1)

enumSaveAsStringProps.SAVEAS_PDF_TITLE (2)

enumSaveAsStringProps.SAVEAS_PDF_AUTHOR (3)

enumSaveAsStringProps.SAVEAS_PDF_SUBJECT (4)

enumSaveAsStringProps.SAVEAS_PDF_KEYWORDS (5)

enumSaveAsStringProps.SAVEAS_PDF_USERPWD (6)

enumSaveAsStringProps.SAVEAS_PDF_OWNERPWD (7)

enumSaveAsStringProps.SAVEAS_PDF_FORCEFONT (8)

enumSaveAsStringProps.SAVEAS_PDF_FORBIDFONT (9)

enumSaveAsStringProps.SAVEAS_HTML_OUTPUTDIR (10)

enumSaveAsStringProps.SAVEAS_HTML_FORCEFONT (11)

enumSaveAsStringProps.SAVEAS_HTML_FORBIDFONT (12)

enumSaveAsStringProps.SAVEAS_REDIRECT_PRINTING_LOGFILE (14)

enumSaveAsStringProps.SAVEAS_REDIRECT_PRINTING_LOG (15)

enumSaveAsStringProps.SAVEAS_EMAIL_SMTP_SERVER (16)

enumSaveAsStringProps.SAVEAS_EMAIL_SMTP_PORT (17)

enumSaveAsStringProps.SAVEAS_EMAIL_SMTP_USER (18)

enumSaveAsStringProps.SAVEAS_EMAIL_SMTP_PWD (19)

enumSaveAsStringProps.SAVEAS_EMAIL_SMTP_SSL (20)

enumSaveAsStringProps.SAVEAS_EMAIL_SMTP_SILENT (21)

enumSaveAsStringProps.SAVEAS_EMAIL_SENDER (22)

enumSaveAsStringProps.SAVEAS_EMAIL_TO (23)

enumSaveAsStringProps.SAVEAS_EMAIL_CC (24)

enumSaveAsStringProps.SAVEAS_EMAIL_BCC (25)

enumSaveAsStringProps.SAVEAS_EMAIL_SUBJECT (26)

enumSaveAsStringProps.SAVEAS_EMAIL_BODY (27)

enumSaveAsStringProps.SAVEAS_EMAIL_LOGDIR (28)

enumSaveAsStringProps.SAVEAS_EMAIL_LOG (29)

enumSaveAsStringProps.SAVEAS_EMAIL_CLIENT_TYPE (30)

enumSaveAsStringProps.SAVEAS_SHAREPOINT_SERVER (31)

enumSaveAsStringProps.SAVEAS_SHAREPOINT_DIR (32)

enumSaveAsStringProps.SAVEAS_SHAREPOINT_USER (33)

enumSaveAsStringProps.SAVEAS_SHAREPOINT_PWD (34)

enumSaveAsStringProps.SAVEAS_SHAREPOINT_LOGFILE (35)

enumSaveAsStringProps.SAVEAS_SHAREPOINT_SILENT (36)

enumSaveAsStringProps.SAVEAS_WATERMARK_FILE_PORTRAIT (37)

enumSaveAsStringProps.SAVEAS_WATERMARK_FILE_LANDSCAPE (38)

enumSaveAsStringProps.SAVEAS_WATERMARK_FIRSTFILE_PORTRAIT (39)

enumSaveAsStringProps.SAVEAS_WATERMARK_FIRSTFILE_LANDSCAPE (40)

 

 

Input Value szValue:         - New string value of the selected property.

Available values:

SAVEAS_OUTPUTPATH: Absolute path of the output folder.

SAVEAS_FILENAME: Name of the output file. The filename can be specified with or without an extension.

SAVEAS_PDF_TITLE: Title of the PDF on the Description tab of the PDF option dialog.

SAVEAS_PDF_AUTHOR: Author of the PDF on the Description tab of the PDF option dialog.

SAVEAS_PDF_SUBJECT: Subject of the PDF on the Description tab of the PDF option dialog.

SAVEAS_PDF_KEYWORDS: Keywords of the PDF on the Description tab of the PDF option dialog.

SAVEAS_PDF_USERPWD: PDF user password. This value is displayed on the security tab of the PDF option

                                        dialog.

SAVEAS_PDF_OWNERPWD: PDF owner password. This value is displayed on the security tab of the PDF option

                                        dialog.

SAVEAS_HTML_OUTPUTDIR: Output folder of the HTML content. This value is displayed on the General tab of the HTML option dialog.

SAVEAS_REDIRECT_PRINTING_LOGFILE: ‘Log file’ field at ‘Redirect Settings’ dialog. Max length is 255 characters.

SAVEAS_REDIRECT_PRINTING_LOG:

‘Yes’: ‘Enable redirect printing log’ checkbox is checked at ‘Redirect Settings’ dialog.

‘No’: ‘Enable redirect printing log’ checkbox is unchecked at ‘Redirect Settings’ dialog.

SAVEAS_EMAIL_SMTP_SERVER: ‘Server’ field at ‘Email Settings’ dialog. Max length is 127 characters.

SAVEAS_EMAIL_SMTP_PORT: ‘Port’ field at ‘Email Settings’ dialog. Max length is 3 characters.

SAVEAS_EMAIL_SMTP_USER: ‘User Name (with domain)’ field at ‘Email Settings’ dialog. Max length is 32 characters.

SAVEAS_EMAIL_SMTP_PWD: ‘Password’ field at ‘Email Settings’ dialog. Max length is 32 characters.

SAVEAS_EMAIL_SMTP_SSL:

‘Yes’: ‘Enable SSL’ checkbox is checked at ‘Email Settings’ dialog.

‘No’: ‘Enable SSL’ checkbox is unchecked at ‘Email Settings’ dialog.

SAVEAS_EMAIL_SMTP_SILENT:

‘Yes’: ‘Send emails silently’ checkbox is checked at ‘Email Settings’ dialog.

‘No’: ‘Send emails silently’ checkbox is unchecked at ‘Email Settings’ dialog.

SAVEAS_EMAIL_SENDER: ‘Sender name’ field at ‘Email Settings’ dialog. Max length is 63 characters.

SAVEAS_EMAIL_TO: ‘To’ addresses at ‘Email Settings’ dialog. Max length is 127 characters.

SAVEAS_EMAIL_CC: ‘Cc’ addresses at ‘Email Settings’ dialog. Max length is 127 characters.

SAVEAS_EMAIL_BCC: ‘Bcc’ addresses at ‘Email Settings’ dialog. Max length is 127 characters.

SAVEAS_EMAIL_SUBJECT: ‘Subject’ field at ‘Email Settings’ dialog. Max length is 63 characters.

SAVEAS_EMAIL_BODY: ‘Body’ field at ‘Email Settings’ dialog. Max length is 515 characters.

SAVEAS_EMAIL_LOGDIR: ‘Log directory’ field at ‘Email Settings’ dialog. Max length is 255 characters.

SAVEAS_EMAIL_LOG:

‘Yes’: ‘Enable logging’ checkbox is checked at ‘Email Settings’ dialog.

‘No’: ‘Enable logging’ checkbox is unchecked at ‘Email Settings’ dialog.

SAVEAS_EMAIL_CLIENT_TYPE:

0: ‘Use default email client’ is selected at ‘Email Settings’ dialog.

1: ‘Use SMTP client’ is selected at ‘Email Settings’ dialog.

SAVEAS_SHAREPOINT_SERVER: ‘Server name’ field at ‘SharePoint Settings’ dialog. Max length is 255 characters.

SAVEAS_SHAREPOINT_DIR: ‘Directory’ field at ‘SharePoint Settings’ dialog. Max length is 255 characters.

SAVEAS_SHAREPOINT_USER: ‘User name’ field at ‘SharePoint Settings’ dialog. Max length is 255 characters.

SAVEAS_SHAREPOINT_PWD: ‘Password’ field at ‘SharePoint Settings’ dialog. Max length is 255 characters.

SAVEAS_SHAREPOINT_LOGFILE: ‘Log file’ field at ‘SharePoint Settings’ dialog. Max length is 255 characters.

SAVEAS_SHAREPOINT_SILENT:

‘Yes’: ‘Silent mode’ checkbox is checked at ‘SharePoint Settings’ dialog.

‘No’: ‘Silent mode’ checkbox is unchecked at ‘SharePoint Settings’ dialog.

SAVEAS_WATERMARK_FILE_PORTRAIT: Path and filename of the portrait watermark image at ‘Choose Watermark’ dialog. Max length is 255 characters.

SAVEAS_WATERMARK_FILE_LANDSCAPE: Path and filename of the landscape watermark image at ‘Choose Watermark’ dialog. Max length is 255 characters.

SAVEAS_WATERMARK_FIRSTFILE_PORTRAIT: Path and filename of the portrait watermark image at the first page on the ‘Choose Watermark’ dialog. Max length is 255 characters.

SAVEAS_WATERMARK_FIRSTFILE_LANDSCAPE: Path and filename of the landscape watermark image at the first page on the ‘Choose Watermark’ dialog. Max length is 255 characters.

 

 

Return value            - TRUE on success, otherwise FALSE.