This method embeds the annotation objects into a raster image.
Parameters
None
Return Value
Returns True if successful, otherwise returns False.
Explanation
The DrawEditedObjectsToImage method embeds the annotation objects into a raster image.
When a raster image is loaded as the base image in the ImageKit control and annotation objects have been drawn on that image, executing the DrawEditedObjectsToImage method will rasterize the annotation objects and embed them into the base raster image. The resulting image is a raster image and can be saved using the usual ImageKit save methods.
NOTE: After annotation objects have been embedded into the image, they are cleared. If you want to retain the annotation objects, be sure to save them to annotation file prior to embedding them in an image.
This method supports only raster images. When a vector image (WMF or EMF) is loaded, this method will not embed the annotation objects into the vector image. This method will be ignored and will return False, the original vector image will be displayed without the annotation objects. (Although it is possible to draw annotation objects on top of vector images, edit the annotation objects, save them to or load them from an annotation file, it is not possible to embed the annotation object into a vector image.)
See also
ImageKit.Edit Members | Newtone.ImageKit.Win.ImageKit