SetYDPI

Sets the dmYResolutionmember of the DevMode. Sets the value of the 'Vertical Resolution' edit box.

 

SetYDPI(ydpi As Integer, pBlackIceDEVMODE As Long) As Boolean

 

Input value: ydpi                               - Vertical Resolution

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.