LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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. Supported in Silverlight, Windows Phone 7

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 New 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also