GetPaperSize

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

 

GetPaperSize(pBlackIceDEVMODE As Long) As Integer

 

Input value                - handle to the BlackIceDEVMODE

Return value             - paper size (integer number)

 

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