IVectorDecoderRasterizeScaledRegion Method |
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,
RectangleF srcRect,
SizeF dstSize,
ProgressEventHandler progress
)
Function RasterizeScaledRegion (
stream As Stream,
srcRect As RectangleF,
dstSize As SizeF,
progress As ProgressEventHandler
) As AtalaImage
Parameters
- stream
- Type: System.IOStream
The stream containing the vector file. - 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:
AtalaImageSee Also