Public Member Functions | Static Public Member Functions | List of all members
DimensionTextPartId Struct Reference

! While querying a dimension using ITextEdit and ITextQuery the returned ! object is a DimensionTextPartId. More...

#include <DimensionHandler.h>

Inheritance diagram for DimensionTextPartId:
ITextPartId RefCountedBase RefCounted< IRefCounted > IRefCounted

Public Member Functions

DGNPLATFORM_EXPORT UInt32 GetPartSegment () const
 Queries the segment associated with this part. More...
 
DGNPLATFORM_EXPORT
DimensionTextPartType 
GetPartType () const
 Queries the part type associated with this part. More...
 
DGNPLATFORM_EXPORT
DimensionTextPartSubType 
GetPartSubType () const
 Queries the part sub type associated with this part. More...
 
- Public Member Functions inherited from RefCounted< IRefCounted >
void * operator new (size_t size)
 
void operator delete (void *rawMemory, size_t size)
 
UInt32 AddRef () const
 
UInt32 Release () const
 
 RefCounted ()
 
 RefCounted (RefCounted const &rhs)
 
RefCountedoperator= (RefCounted const &rhs)
 
UInt32 GetRefCount () const
 

Static Public Member Functions

static DGNPLATFORM_EXPORT
ITextPartIdPtr 
Create (UInt32 partSegment, DimensionPartType partType, DimensionPartSubType partSubType)
 Create a new dimension text part. More...
 
static DGNPLATFORM_EXPORT
ITextPartIdPtr 
Create (UInt32 partSegment, DimensionTextPartType partType, DimensionTextPartSubType partSubType)
 Create a new dimension text part. More...
 

Additional Inherited Members

- Protected Member Functions inherited from RefCounted< IRefCounted >
virtual ~RefCounted ()
 
- Protected Member Functions inherited from IRefCounted
virtual ~IRefCounted ()
 
void * operator new (size_t size)
 
void operator delete (void *rawMemory, size_t size)
 

Detailed Description

! While querying a dimension using ITextEdit and ITextQuery the returned ! object is a DimensionTextPartId.

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

Member Function Documentation

static DGNPLATFORM_EXPORT ITextPartIdPtr Create ( UInt32  partSegment,
DimensionPartType  partType,
DimensionPartSubType  partSubType 
)
static

Create a new dimension text part.

Will fail if partType or partSubType are not valid text parts.

Parameters
partSegmentIN segment number
partTypeIN part type
partSubTypeIN part subtype
static DGNPLATFORM_EXPORT ITextPartIdPtr Create ( UInt32  partSegment,
DimensionTextPartType  partType,
DimensionTextPartSubType  partSubType 
)
static

Create a new dimension text part.

Parameters
partSegmentIN segment number
partTypeIN part type
partSubTypeIN part subtype
DGNPLATFORM_EXPORT UInt32 GetPartSegment ( ) const

Queries the segment associated with this part.

DGNPLATFORM_EXPORT DimensionTextPartSubType GetPartSubType ( ) const

Queries the part sub type associated with this part.

Queries the part type associated with this part.


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

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