GetPointData Method (ICustomData)

GetPointData Method (ICustomData) | Send Feedback
See Also Example

Index
  Index of the custom data element

X[out]
  x coordinate

Y[out]
  y coordinate

Z[out]
  z coordinate

Gets the specified custom data element whose value is a point.

# Syntax

Visual Basic |
--- | ---
    Sub GetPointData( _
       ByVal Index As System.Integer, _
       ByRef X As System.Double, _
       ByRef Y As System.Double, _
       ByRef Z As System.Double _
    )

C# |
--- | ---
    void GetPointData(
       System.int Index,
       out System.double X,
       out System.double Y,
       out System.double Z
    )

JavaScript |
--- | ---
    GetPointData(
       Index : Number
    ) : {
       X : Number,
       Y : Number,
       Z : Number
    }

COM native C++ |
--- | ---
    HRESULT GetPointData(
       LONG Index,
       DOUBLE* X,
       DOUBLE* Y,
       DOUBLE* Z
    )

C++ |
--- | ---
    DSRESULT GetPointData(
       long Index,
       double* X,
       double* Y,
       double* Z
    )

#### Parameters

Index
  Index of the custom data element
X[out]
  x coordinate
Y[out]
  y coordinate
Z[out] or Return Value
  z coordinate

# Example

Add, Modify, and Remove Custom Data (C#)
Add, Modify, and Remove Custom Data (VB.NET)
Add, Modify, and Remove Custom Data (VBA)

# Remarks

Call ICustomData::GetDataCount before calling this method to determine a valid value for Index.

# See Also

####

ICustomData Interface
ICustomData Members
ICustomData::SetPointData Method
ICustomData::InsertPointData Method

# Availability

DraftSight V1R1.2