Sets the resolution of the resulting image 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 image in dots per inch

Return value