ClearImage COM Server
NextObject Method
See Also  Example  Send Feedback
CiTools Object : NextObject Method

Description

Find another object

Syntax

Visual Basic
Public Function NextObject() As CiObject

Remarks

!MISSING PHRASE '_COLORFAIL'!

Example

Itreate all objects into individual images
VB Exampe (Visual Basic)Copy Code
Public Sub T_IterateObjects(ByRef Tools As CiTools)
    Dim Obj As CiObject
    Set Obj = Tools.FirstObject    
    Do While Not Obj Is Nothing
      ' TODO:  Do something with Obj using Object properties
      Debug.Print  _
        "   Rect lt=" & Obj.Rect.left & ":" & Obj.Rect.top & _
        "  rb=" & Obj.Rect.right & ":" & Obj.Rect.bottom & _
        "   Pixels=" & Obj.pixels & "   Intervals=" & Obj.Intervals
       Set Obj = Tools.NextObject
    Loop
End Sub

See Also

© 1992-2011. Inlite Research, Inc. All Rights Reserved.