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,
	int fillAlpha
)
Public Sub Resize ( _
	newWidth As Integer, _
	newHeight As Integer, _
	horizontalAlign As HorizAlign, _
	verticalAlign As VertAlign, _
	fillAlpha As Integer _
)
public:
void Resize(
	int newWidth, 
	int newHeight, 
	HorizAlign horizontalAlign, 
	VertAlign verticalAlign, 
	int fillAlpha
)

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.
fillAlpha
Int32
specifies the transparency to use on added areas.

See Also