Click or drag to resize

IMultiFramedVectorDecoderRasterizeScaledRegion Method (Stream, Int32, RectangleF, SizeF, ProgressEventHandler)

Renders a section of the file from the source rectangle into the destination rectangle.

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
AtalaImage RasterizeScaledRegion(
	Stream stream,
	int frameIndex,
	RectangleF srcRect,
	SizeF dstSize,
	ProgressEventHandler progress
)

Parameters

stream
Type: System.IOStream
The stream containing the vector file.
frameIndex
Type: SystemInt32
Index of the frame to render.
srcRect
Type: System.DrawingRectangleF
The source rectangle.
dstSize
Type: System.DrawingSizeF
Size of the destination rectangle.
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress handler.

Return Value

Type: AtalaImage
See Also