v2.44
 
IPlacement2DObject Interface Reference

Represents a 2D placement based object. More...

Public Member Functions

HRESULT GetPlacement ([out, retval] IPlacement2D **ppPlacement)
 Returns the copy of the local coordinate system of an object in two-dimensional space.
 
HRESULT SetPlacement ([in] IPlacement2D *pPlacement)
 Sets the object's placement in two-dimensional space.
 

Detailed Description

Represents a 2D placement based object.

Use this interface to control the 2D placement of drawing objects. This interface can be obtained as an additional interface from IModelObject.

Note
3D view and assembly objects are located in three-dimensional space, so use ILevelObject to control their placement.
Currently, you can work with the placement (get and set) only for the following object types: DrawingText, DrawingLinkedDrawing, DrawingLinkedImage.
See also
IModelObject, ITextObject, IPlacement2D, Placement2D

Member Function Documentation

◆ GetPlacement()

HRESULT GetPlacement ( [out, retval] IPlacement2D ** ppPlacement)

Returns the copy of the local coordinate system of an object in two-dimensional space.

Parameters
[out]ppPlacementThe requested placement.
See also
IPlacement2D

◆ SetPlacement()

HRESULT SetPlacement ( [in] IPlacement2D * pPlacement)

Sets the object's placement in two-dimensional space.

Parameters
[in]pPlacementPointer to the new placement.
See also
IPlacement2D