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



rc
The rectangle to copy (in pixels).
createFlags
Flags that control memory allocation for the destination image.
Initializes a new instance of the CopyRectangleCommand class with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal rc As Rectangle, _
   ByVal createFlags As RasterMemoryFlags _
)
Visual Basic (Usage)Copy Code
Dim rc As Rectangle
Dim createFlags As RasterMemoryFlags
 
Dim instance As CopyRectangleCommand(rc, createFlags)
C# 
public CopyRectangleCommand( 
   Rectangle rc,
   RasterMemoryFlags createFlags
)
C++/CLI 
public:
CopyRectangleCommand( 
   Rectangle rc,
   RasterMemoryFlags createFlags
)

Parameters

rc
The rectangle to copy (in pixels).
createFlags
Flags that control memory allocation for the destination image.

Example

For an example, refer to CopyRectangleCommand.

Requirements

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

See Also