LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
BorderRemoveCommandEventArgs Constructor
See Also 
Leadtools.ImageProcessing.Core Namespace > BorderRemoveCommandEventArgs Class : BorderRemoveCommandEventArgs Constructor



image
RasterImage object that references the affected image
region
LEADTOOLS Leadtools.RasterRegion representing the border to be removed. It is the programmer's 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. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal image As RasterImage, _
   ByVal region As RasterRegion, _
   ByVal border As BorderRemoveBorderFlags, _
   ByVal boundingRectangle As LeadRect _
)
Visual Basic (Usage)Copy Code
Dim image As RasterImage
Dim region As RasterRegion
Dim border As BorderRemoveBorderFlags
Dim boundingRectangle As LeadRect
 
Dim instance As New BorderRemoveCommandEventArgs(image, region, border, boundingRectangle)
C# 
public BorderRemoveCommandEventArgs( 
   RasterImage image,
   RasterRegion region,
   BorderRemoveBorderFlags border,
   LeadRect boundingRectangle
)
C++/CLI 
public:
BorderRemoveCommandEventArgs( 
   RasterImage^ image,
   RasterRegion^ region,
   BorderRemoveBorderFlags border,
   LeadRect boundingRectangle
)

Parameters

image
RasterImage object that references the affected image
region
LEADTOOLS Leadtools.RasterRegion representing the border to be removed. It is the programmer's 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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also