Spread WPF 18
GrapeCity.Spreadsheet.Drawing Namespace / IShapeRange Interface / ZOrderPosition Property


In This Topic
    ZOrderPosition Property (IShapeRange)
    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 IShapeRange
    Dim value As Integer
     
    value = instance.ZOrderPosition
    int ZOrderPosition {get;}

    Property Value

    The position of the specified shape in the z-order.
    Remarks
    The value is on base-1.

    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