Once you load an image in CoolWatermark, all modification methods'
result will be added. That means if you resize firstly, then secondly
you rotate it, it will rotate the resized one. Thirdly, you want to
color adjust it, it will modify the resized and roatated photo.
If all modifications on the photo donot satisfy you and you want to
restore the photo's original state, call this method.
The example below will demonstrate how to restore the photo state.
[C#]
// Initialize a new instance of Controller class
angGoGo.CoolWatermark.Writer objWriter=new Writer("Image.jpg");
Image image;
// write a string on the photo , the image in
CoolWatermark has been changed
image = objWriter.WriteText ( " Hello World ! " );
// restore the photo, the Hello World text has been lost
objPC.Reset();
// write another string on the photo
image = objWriter.WriteText(" Only this string exists ! "
)
//Release the object
objPC.Dispose();
No example is available for VB,C++ or J#, but the theory is the same