Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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
)
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also