InitFromSafeArray method

Sets the value of the data object to the bounds in the specified SAFEARRAY.

Syntax

HRESULT retVal = object.InitFromSafeArray(psa);

Parameters

  • psa [in]
    Type: SAFEARRAY

    Pointer to the SAFEARRAY data type.

Remarks

SAFEARRAY is expected to be a one-dimensional, eight-element array. The array values, inherited from the DXBNDS structure, are MinX, MaxX, MinY, MaxY, MinZ, MaxZ, MinT, and MaxT, in that order.