SetPagePhysicalOffsetY 

Sets the height of unwritable margin of the paper in pixels.

 

SetPagePhysicalOffsetY (PhysicalOffsetY As Long, pBlackIceDEVMODE As Long) As Boolean

 

Input value    - value of the new offset value in pixels

Input value    - handle to the BlackIceDEVMODE.

Return value - TRUE on success, otherwise FALSE.

 

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