ImageHelperScaleImage Method Document Toolkit Help
Scales the image.

Namespace: FirstFloor.Documents.Imaging
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax

public static BitmapSource ScaleImage(
	BitmapSource image,
	double scale,
	Size maxSize
)

Parameters

image
Type: System.Windows.Media.ImagingBitmapSource
The image.
scale
Type: SystemDouble
The scale.
maxSize
Type: System.WindowsSize
Size of the max.

Return Value

Type: BitmapSource
The scaled image.
See Also

Reference