This documentation is archived and is not being maintained.
Bitmap.SetResolution Method
.NET Framework 1.1
Sets the resolution for this Bitmap.
[Visual Basic] Public Sub SetResolution( _ ByVal xDpi As Single, _ ByVal yDpi As Single _ ) [C#] public void SetResolution( float xDpi, float yDpi ); [C++] public: void SetResolution( float xDpi, float yDpi ); [JScript] public function SetResolution( xDpi : float, yDpi : float );
Parameters
- xDpi
- The horizontal resolution, in dots per inch, of the Bitmap.
- yDpi
- The vertical resolution, in dots per inch, of the Bitmap.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
Show: