ILocationEx Interface
- GetFrameType
- SetFrameType
- GetDepthPositionType
- SetDepthPositionType
ILocationEx interface gives access to Frame Type and Depth Position Type
properties of Localized Items in DG Kernel models.
ILocationEx can be queried from the relevant IItem
interface.
See also: LabelEx Sample
HRESULT GetFrameType( int* frame )
Parameters
frame - [out] The returned integer
indicating the current Frame Type The value coincides
with one of values from EModelViewFrame
enumeration.
Remarks:
The method returns the current Frame Type of the
item.
HRESULT SetFrameType( int frame )
Parameters
frame - [in] The new
Frame Type. The value must coincide with one of values
from EModelViewFrame enumeration.
Remarks:
The method modifies the current Frame Type
of the item.
Note that when frame is eModelViewFrameEye and some
of the current coordinates are outside of the [-1,1] range the item will appear
outside the relevant box. For the case of top-level item it means that the item
will disappear from the screen, because it falls out of the
Viewing Volume
HRESULT GetDepthPositionType( int* type )
Parameters
type -[out] The returned integer
indicating the current Depth Position Type The value coincides
with one of values from
EModelEntity
enumeration.
Remarks:
The method returns the current
Depth Position Type of the item.
HRESULT SetDepthPositionType( int type )
Parameters
type -[in] The value of the
Depth Position Type The value must coincide
with one of values from
EModelEntity
enumeration.
Remarks:
The method modifies the current
Depth Position Type of the item.
|