Sets the resolution of the resulting images in dots per inch.

HRESULT SetDPI([in, defaultvalue(96)] int dpi);
Public Function SetDPI (
   dpi As Integer
) As Long

Parameters

dpi[in] the resolution of the resulting images in dots per inch

Return value