Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
BorderRemoveCommandEventArgs Constructor
See Also 
Leadtools.ImageProcessing.Core Namespace > BorderRemoveCommandEventArgs Class : BorderRemoveCommandEventArgs Constructor




image
RasterImage object that references the affected image
region
Windows region representing the border to be removed. It is the programmers responsibility to dispose this region when it is no longer needed.
border
Flag that indicates which border is being processed.
boundingRectangle
Rectangle object that contains the bounding rectangle of the border being processed.
Initializes a new BorderRemoveCommand class object with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal image As RasterImage, _
   ByVal region As Region, _
   ByVal border As BorderRemoveBorderFlags, _
   ByVal boundingRectangle As Rectangle _
)
Visual Basic (Usage)Copy Code
Dim image As RasterImage
Dim region As Region
Dim border As BorderRemoveBorderFlags
Dim boundingRectangle As Rectangle
 
Dim instance As BorderRemoveCommandEventArgs(image, region, border, boundingRectangle)
C# 
public BorderRemoveCommandEventArgs( 
   RasterImage image,
   Region region,
   BorderRemoveBorderFlags border,
   Rectangle boundingRectangle
)
Managed Extensions for C++ 
public: BorderRemoveCommandEventArgs( 
   RasterImage image,
   Region region,
   BorderRemoveBorderFlags border,
   Rectangle boundingRectangle
)
C++/CLI 
public:
BorderRemoveCommandEventArgs( 
   RasterImage image,
   Region region,
   BorderRemoveBorderFlags border,
   Rectangle boundingRectangle
)

Parameters

image
RasterImage object that references the affected image
region
Windows region representing the border to be removed. It is the programmers responsibility to dispose this region when it is no longer needed.
border
Flag that indicates which border is being processed.
boundingRectangle
Rectangle object that contains the bounding rectangle of the border being processed.

Example

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