SetSaveAsOptionDefStringAtPos

This method sets the default values of the Save As Option dialog. This method can set the default string values in an array. 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.

 

SetSaveAsOptionDefStringAtPos (pDevMode As Long, iSaveAsProp As Long, szValue As String, lPos As Long) As Boolean

 

Input value pDevMode:    - pointer to the BlackIceDEVMODE structure.

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

enumSaveAsStringProps.SAVEAS_PDF_FORCEFONT (8)

enumSaveAsStringProps.SAVEAS_PDF_FORBIDFONT (9)

enumSaveAsStringProps.SAVEAS_HTML_FORCEFONT (11)

enumSaveAsStringProps.SAVEAS_HTML_FORBIDFONT (12)

enumSaveAsStringProps.SAVEAS_REDIRECT_PRINTER (13)

 

 

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

Available values:

SAVEAS_PDF_FORCEFONT: element of the force to embed font on the Font tab of the PDF option dialog.

SAVEAS_PDF_FORBIDFONT: element of the forbid to embed font on the Font tab of the PDF option dialog.

SAVEAS_HTML_FORCEFONT: element of the force to embed font on the Font tab of the HTML option dialog.

SAVEAS_HTML_FORBIDFONT: element of the forbid to embed font on the Font tab of the HTML option dialog.

SAVEAS_REDIRECT_PRINTER: Redirect printer name at the specified position.

Input value lPos: zero based integer value. This value specifies the iPosition-th element in the array.

 

Return value            - TRUE on success, otherwise FALSE.