SetDefaultCoverPageEnabled

 

Sets whether a Default Cover Page should be opened in the Cover Page Filler automatically, or the user should choose the cover page from a list, during printing. If the option is disabled, the Select Cover Page window is displayed before the Cover Page filler and the user can select the Cover Page from the list of installed Cover Pages. If the option is enabled, the Cover Page specified by the “Default Cover Page” key is opened in the Cover Page Filler automatically. If the option is enabled, the default cover page can be set using the SetDefaultCoverPage function.

 

SetDefaultCoverPageEnabled (pBlackIceDEVMODE As Long, bEnable As Boolean) As Boolean

 

pBlackIceDEVMODE          - pointer to the BlackIceDEVMODE structure.

bEnable                                 - If this value is TRUE,        the Cover Page Filler will be shown during printing.

Return value - TRUE on success, otherwise FALSE.

 

NOTE: For 32-bit applications, use pBlackIceDEVMODE as Integer, instead of Long.