Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SizeCommand Constructor(Int32,Int32,RasterSizeFlags)
See Also 
Leadtools.ImageProcessing Namespace > SizeCommand Class > SizeCommand Constructor : SizeCommand Constructor(Int32,Int32,RasterSizeFlags)



width
New image width in pixels.
height
New image height in pixels.
flags
Flags that control the behavior when resizing the image.
Initializes a new instance of the SizeCommand class with explicit parameters.

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal flags As RasterSizeFlags _
)
Visual Basic (Usage) Copy Code
Dim width As Integer
Dim height As Integer
Dim flags As RasterSizeFlags
 
Dim instance As SizeCommand(width, height, flags)
C#  
public SizeCommand( 
   int width,
   int height,
   RasterSizeFlags flags
)
C++/CLI  
public:
SizeCommand( 
   int width,
   int height,
   RasterSizeFlags flags
)

Parameters

width
New image width in pixels.
height
New image height in pixels.
flags
Flags that control the behavior when resizing the image.

Example

For an example, refer to SizeCommand.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also