This method resizes the current image to newWidth and newHeight. The content of the image doesn't change (no stretch).

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void Resize(
	int newWidth,
	int newHeight,
	HorizAlign horizontalAlign,
	VertAlign verticalAlign
)
Public Sub Resize ( _
	newWidth As Integer, _
	newHeight As Integer, _
	horizontalAlign As HorizAlign, _
	verticalAlign As VertAlign _
)
public:
void Resize(
	int newWidth, 
	int newHeight, 
	HorizAlign horizontalAlign, 
	VertAlign verticalAlign
)

Parameters

newWidth
Int32
the new width
newHeight
Int32
the new height
horizontalAlign
HorizAlign
specifies the horizontal alignment of the old image.
verticalAlign
VertAlign
specifies the vertical alignment of the old image.

See Also