Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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
)
Managed Extensions for 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 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