ClearImage 8 Help
CreateZone Method
See Also  Send Feedback
Inlite.ClearImage Namespace > CiImage Class : CreateZone Method






left
top
right
bottom
Create new Zone within image

Syntax

Visual Basic (Declaration) 
Public Function CreateZone( _
   ByVal left As Integer, _
   ByVal top As Integer, _
   ByVal right As Integer, _
   ByVal bottom As Integer _
) As CiImage
Visual Basic (Usage)Copy Code
Dim instance As CiImage
Dim left As Integer
Dim top As Integer
Dim right As Integer
Dim bottom As Integer
Dim value As CiImage
 
value = instance.CreateZone(left, top, right, bottom)
C# 
public CiImage CreateZone( 
   int left,
   int top,
   int right,
   int bottom
)
Delphi 
public function CreateZone( 
    left: Integer;
    top: Integer;
    right: Integer;
    bottom: Integer
): CiImage; 
JScript 
public function CreateZone( 
   left : int,
   top : int,
   right : int,
   bottom : int
) : CiImage;
Managed Extensions for C++ 
public: CiImage* CreateZone( 
   int left,
   int top,
   int right,
   int bottom
) 
C++/CLI 
public:
CiImage^ CreateZone( 
   int left,
   int top,
   int right,
   int bottom
) 

Parameters

left
top
right
bottom

Remarks

The zone's rectangle object should have valid coordinates (right greater than left and bottom greater than top); otherwise the zone is considered empty (object.Zone.IsEmpty returns True.) Invocation of ClearImage methods with an empty zone will generate an error.

Cordinates are inclusive, meaning pixels belonging to left and top row, top and bottom columns beInt32 to a zone.
Minimum width and height of zone are 2 pixels.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2007-2013. Inlite Research, Inc. All Rights Reserved.