Creates a new Image resized proportionally to have the given maximum width and height.

Namespace: ImageSense
Assembly: ImageSense (in ImageSense.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public FilterChain ResizeToMaxDimensions(
	int maxWidth,
	int maxHeight
)
Visual Basic
Public Function ResizeToMaxDimensions ( _
	maxWidth As Integer, _
	maxHeight As Integer _
) As FilterChain
Visual C++
public:
FilterChain^ ResizeToMaxDimensions(
	int maxWidth, 
	int maxHeight
)

Parameters

maxWidth
Type: System..::..Int32
The maximum width to resize the image.
maxHeight
Type: System..::..Int32
The maximum height to resize the image.

Return Value

This FilterChain.

See Also