Each ImageDraw control features a set of class methods intended to save the output composite image on different storage mediums such as Disk, Memory Streams, and GDI+ Image Objects.
The aforementioned class methods are:
Saving and getting the output composite image
- GetDraftImage
This method lets you to get a System.Drawing.Bitmap object of the draft of the composite image. The term Draft means that there is no image format applied on the Bitmap object.
- GetOutputImage
This method is similar to GetDraftImage method with the difference that the System.Drawing.Bitmap object returned by GetOutputImage is applied with the image format specified by the ImageFormat property.
- GetOutputImageBinary
This method lets you to get a Byte Array (a buffer) of the output composite image in the image format specified the ImageFormat property. This method is especially useful when dealing with WebServices scenarios.
- Save
This method -with 4 overload versions- lets you to save the output composite image to the specified file on disk or to the specified memory stream, depending on the invoked overload version of the method.