Crops the image and writes it to the specified Stream.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void WriteCropped( Stream stream, Rectangle rectangle )
Type: System.IO.Stream
The Stream to save the result.Type: System.Drawing.Rectangle
The cropping rectangle. The rectangle must be inside the image. Note, coordinates of this rectangle and coordinates of the cropped portion of image may be different.