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) |
Delphi | |
---|---|
public function CreateZone( left: Integer; top: Integer; right: Integer; bottom: Integer ): CiImage; |
Parameters
- left
- top
- right
- bottom
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.
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