Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / Vector3 Structure / Item Property
The index of the component to access. Use 0 for the X component, 1 for the Y component, and 2 for the Z component.

In This Topic
    Item Property (Vector3)
    In This Topic
    Gets or sets the component at the specified index.
    Syntax
    'Declaration
     
    Public Default Property Item( _
       ByVal index As System.Integer _
    ) As System.Single
    public System.float this[ 
       System.int index
    ]; {get; set;}

    Parameters

    index
    The index of the component to access. Use 0 for the X component, 1 for the Y component, and 2 for the Z component.

    Property Value

    The value of the X, Y, or Z component, depending on the index.The value of the component at the specified index.
    Exceptions
    ExceptionDescription
    Thrown when the index is out of the range [0, 2].
    See Also