I2DEditor_KC Interface
I2DEditor_KC interface provides access to two dimentional editing functionality
I2DEditor_KC can be queried from IView interface of the component.. Query path: DG Kernel > GetView
> IView > I2DView_KC
> I2DEditor_KC
See also Interface List
HRESULT Activate(VARIANT_BOOL activate)
Remarks:
Either makes the editor available for interactive modifications or deactivates
it.
HRESULT Init()
Remarks:
Performs initialisation of the editor when it was created programmaticaly
HRESULT AttachObject(ISection* iEditableObject)
Remarks:
Attaches an object (overlay) which
contains 2D geometry to this editor
HRESULT GetObject(ISection** iEditableObject)
Parameters
iEditableObject- [out, retval] The
currently attached object with 2D geometry
Remarks:
Returns the object (overlay) which
contains 2D geometry being modified by this editor
HRESULT BuildPrizm(IStrip *strip, IPrizmInfinite_KC** prizm)
Parameters
strip - [in] 2D polygon of the base of the prizm in local x and y axes
prizm - [out] the resulting oject
|