SetSaveAsOptionDefStringAtPos

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetSaveAsOptionDefStringAtPos (BlackIceDEVMODE* pDevMode , SAVEAS_STRINGPROPS iSaveAsProp, LPCTSTR pszValue, int iPosition);

Description

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

Parameters

BlackIceDEVMODE* pDevMode                           - pointer to the BlackIceDEVMODE structure.

SAVEAS_STRINGPROPS iSaveAsProp            - the string property. Available values:

SAVEAS_PDF_FORCEFONT (8)

SAVEAS_PDF_FORBIDFONT (9)

SAVEAS_HTML_FORCEFONT (11)

SAVEAS_HTML_FORBIDFONT (12)

SAVEAS_REDIRECT_PRINTER (13)

 

LPCTSTR pszValue                        - 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.

int iPosition                                       - zero based integer value. This value specifies the iPosition-th element in the array.

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None