SetPaperSize

Sets the dmPaperSize member of the DevMode. Sets the value of the 'Paper Size' combo box.

 

SetPaperSize(papersize As Integer, pBlackIceDEVMODE As Long ) As Boolean

 

Input value: papersize                              - paper size

Input value: pBlackIceDEVMODE         - handle to the BlackIceDEVMODE.

Return value            - TRUE if the member was successfully set, otherwise FALSE.

 

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