GetPosition Method (IEmbeddedObject)

GetPosition Method (IEmbeddedObject) | Send Feedback
See Also Example

X[out]
  x coordinate

Y[out]
  y coordinate

Z[out]
  z coordinate

Gets the coordinates of the insertion point of this embedded object.

# Syntax

Visual Basic |
--- | ---
    Sub GetPosition( _
       ByRef X As System.Double, _
       ByRef Y As System.Double, _
       ByRef Z As System.Double _
    )

C# |
--- | ---
    void GetPosition(
       out System.double X,
       out System.double Y,
       out System.double Z
    )

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

COM native C++ |
--- | ---
    HRESULT GetPosition(
       DOUBLE* X,
       DOUBLE* Y,
       DOUBLE* Z
    )

C++ |
--- | ---
    DSRESULT GetPosition(
       double* X,
       double* Y,
       double* Z
    )

#### Parameters

X[out]
  x coordinate
Y[out]
  y coordinate
Z[out] or Return Value
  z coordinate

# Example

Insert Embedded Object (C#)
Insert Embedded Object (VB.NET)
Insert Embedded Object (JavaScript)
Insert Embedded Object (VBA)

# See Also

####

IEmbeddedObject Interface
IEmbeddedObject Members
IEmbeddedObject::SetPosition Method

# Availability

DraftSight V1R1.4