GetPagePhysicalOffsetX 

Returns the width of unwritable margin of the paper in pixels.

 

GetPagePhysicalOffsetX (pBlackIceDEVMODE As Long) As Long

 

Input value   - handle to the BlackIceDEVMODE.

Return value            - width of the margin in pixels.

 

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