 |
 |
 |
|
|  |  |
 |
GdipBitmapSetResolution ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Sets the resolution of this Bitmap object. |
 |  | | Code examples: |  | |
|
 |  | | Declaration: |  |  |
GpStatus WINGDIPAPI GdipBitmapSetResolution(
GpBitmap* bitmap,
REAL xdpi,
REAL ydpi
)
|
 |  |  | | FoxPro declaration: |  |  |
DECLARE INTEGER GdipBitmapSetResolution IN gdiplus;
INTEGER hbm,;
SINGLE xdpi,;
SINGLE ydpi
|
 |  |  | | Parameters: |  | gdibitmap
[in] Handle to a GDI bitmap.
xdpi
[in] Real number that specifies the horizontal resolution in dots per inch.
ydpi
[in] Real number that specifies the vertical resolution in dots per inch. |
 |  | | Return value: |  | | Returns 0 on success. |
 |  | | Usage: |  |
PROCEDURE SetResolution(nDpiX As Single, nDpiY As Single)
* himage, hbitmap
LOCAL nDpiXS, nDpiYS
nDpiXS = nDpiX * 1.0000
nDpiYS = nDpiY * 1.0000
THIS.errorcode = GdipBitmapSetResolution(THIS.himage,;
nDpiXS, nDpiYS)
RETURN (THIS.errorcode=0)
|
 |  | | My comment: |  | | See also: GdipGetDpiX, GdipGetDpiY, GdipGetImageHorizontalResolution, GdipGetImageVerticalResolution |
 |  | | Word Index links for the GdipBitmapSetResolution : |  | |
|
 |  | | Translate this page: |  | |  |  | | • |  | | Created: | 2009-09-24 11:40:24 | | Modified: | 2009-09-24 12:07:10 | Visited in last 7 days: 9 |
|
 |
 |
 |
 |
Copyright © 2001-2013
News2News, Inc.
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Privacy policy
|
 |
 |
 |
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc. |
 |
 |
|
 |
 |
|
|