 |
GdipRemovePropertyItem ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Removes a property item (piece of metadata) from this Image object. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
GpStatus WINGDIPAPI GdipRemovePropertyItem(
GpImage *image,
PROPID propId
)
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GdipRemovePropertyItem IN gdiplus;
INTEGER img,;
INTEGER propId
|
 |
 |
 |
| Parameters: |
 |
img
[in] Handle to Image Object
propId
[in] Integer that identifies the property item to be removed. |
 |
 |
| Return value: |
 |
| If the method succeeds, it returns Ok (0), which is an element of the Status enumeration. |
 |
 |
| My comment: |
 |
The GdipRemovePropertyItem removes a specified property from an Image object, but that property item is not removed from the file or stream that was used to construct the Image object.
To save the image (with the property item removed) save it to a new JPEG file or stream, call GdipSaveImageToFile or GdipSaveImageToStream functions.
|
 |
 |
| Word Index links for the GdipRemovePropertyItem : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-08-10 17:57:35 | | Modified: | 2004-08-10 18:02:11 | Visited in last 7 days: 10 |