Static Public Member Functions | List of all members
ExtendedNonGraphicsHandler Struct Referenceabstract

The default type handler for the EXTENDED_ELM type that corresponds to the ExtendedNonGraphicElm structure. More...

#include <ExtendedElementHandler.h>

Inheritance diagram for ExtendedNonGraphicsHandler:
Handler NonCopyableClass ParametricCellDefHandler

Static Public Member Functions

static DGNPLATFORM_EXPORT void InitializeElement (EditElementHandleR eeh, ElementHandleCP teh, DgnModelRefP modelRef, bool isComplexHeader=0)
 Create a new EXTENDED_ELM with required fields for a non-displayable element initialized. More...
 

Additional Inherited Members

- Public Member Functions inherited from Handler
void GetDescription (ElementHandleCR el, WStringR string, UInt32 desiredLength)
 Get a brief string describing the element. More...
 
void GetTypeName (WStringR string, UInt32 desiredLength)
 Get the type name for this handler. More...
 
DisplayHandlerP GetDisplayHandler ()
 Use this method instead of dynamic_cast<DisplayHandlerP> (handler) More...
 
ITransactionHandlerP GetITransactionHandler ()
 Use this method instead of dynamic_cast<ITransactionHandlerP> (handler) More...
 
IDependencyHandlerP GetIDependencyHandler ()
 Use this method instead of dynamic_cast<IDependencyHandlerP> (handler) More...
 
StatusInt ApplyTransform (EditElementHandleR element, TransformInfoCR transform)
 Transform the element. More...
 
StatusInt FenceStretch (EditElementHandleR element, TransformInfoCR transform, FenceParamsP fp, FenceStretchFlags options)
 The handler is requested to "stretch" the specified element, that is, to transform the portions of the element that meet the clip criteria. More...
 
StatusInt FenceClip (ElementAgendaP inside, ElementAgendaP outside, ElementHandleCR element, FenceParamsP fp, FenceClipFlags options)
 The handler is requested to clip the specified element, that is, to return the portions of the element that are inside/outside the clip criteria. More...
 
void ConvertTo3d (EditElementHandleR eeh, double elevation)
 Convert a 2d element to it's 3d form. More...
 
void ConvertTo2d (EditElementHandleR eeh, TransformCR flattenTrans, DVec3dCR flattenDir)
 Convert a 3d element to it's 2d form. More...
 
void QueryProperties (ElementHandleCR eh, PropertyContextR context)
 Method for enummerating the common properties of elements such as color and level. More...
 
void EditProperties (EditElementHandleR eeh, PropertyContextR context)
 Method for changing the common properties of elements such as color and level. More...
 
bool ExposeChildren (ElementHandleCR el, ExposeChildrenReason reason)
 Determine whether the children of this element should be exposed to the caller for the intended purpose. More...
 

Detailed Description

The default type handler for the EXTENDED_ELM type that corresponds to the ExtendedNonGraphicElm structure.

Remarks
Required library : DgnPlatform<ApiNumber>.lib i.e. DgnPlatform5.lib

Member Function Documentation

static DGNPLATFORM_EXPORT void InitializeElement ( EditElementHandleR  eeh,
ElementHandleCP  teh,
DgnModelRefP  modelRef,
bool  isComplexHeader = 0 
)
static

Create a new EXTENDED_ELM with required fields for a non-displayable element initialized.

Parameters
[out]eehThe new element.
[in]tehTemplate element to use for symbology; if NULL defaults are used.
[in]modelRefModel to associate this element with.
[in]isComplexHeaderWhether element will be used as a complex header (normally false).
Note
Used to create an extended non-displayable element by attaching an element handler XAttribute.

The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.