 |
GdipGetImageGraphicsContext ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Creates a Graphics object that is associated with an Image object. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
GpStatus WINGDIPAPI GdipGetImageGraphicsContext(
GpImage *image,
GpGraphics **graphics
)
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GdipGetImageGraphicsContext IN gdiplus;
INTEGER img,;
INTEGER @ graphics
|
 |
 |
 |
| Parameters: |
 |
image
[in] Pointer to an Image object that will be associated with the new Graphics object. |
 |
 |
| Return value: |
 |
| Returns GpStatus value, 0 means success. |
 |
 |
| My comment: |
 |
| The technique of constructing a Graphics object based on an image works only for certain image formats. For example, you cannot construct a Graphics object based on an image that has a color depth of 4 bits per pixel. |
 |
 |
| Word Index links for the GdipGetImageGraphicsContext : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-07-12 14:46:20 | | Modified: | 2004-07-12 14:49:34 | Visited in last 7 days: 16 |