Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IDrawingObject Interface / ZOrderPosition Property


In This Topic
    ZOrderPosition Property (IDrawingObject)
    In This Topic
    Gets the position of the specified shape in the z-order.
    Syntax
    'Declaration
     
    
    ReadOnly Property ZOrderPosition As Integer
    'Usage
     
    
    Dim instance As IDrawingObject
    Dim value As Integer
     
    value = instance.ZOrderPosition
    int ZOrderPosition {get;}

    Property Value

    The position of the specified shape in the z-order.
    Remarks
    To set the shape's position in the z-order, use the ZOrder method.

    A shape's position in the z-order corresponds to the shape's index number in the Shapes collection. Whenever you add a new shape to a collection, it's added to the front of the z-order by default.

    See Also