DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Search Documentation


ILabel3D_KC Interface

GetText
GetFont
ShowBox
GetShowBox
ShowPointer
GetShowPointer
ShowText
GetShowText
GetBoxLineStyle
Orientation

Access to properties of 3D Lables. Can be queried from the relevant IItem. Use methods of  IItem to control visibility and other common properties


HRESULT GetText(IText** iText)

Acess to text string of the label


HRESULT GetFont(IDIFont** iFont)

Acess to properties of font


HRESULT ShowBox(VARIANT_BOOL show)
HRESULT GetShowBox(VARIANT_BOOL* show)

Acess to ShowBox property. If true a rectangle is drawn around the text


HRESULT ShowPointer(VARIANT_BOOL show)
HRESULT GetShowPointer(VARIANT_BOOL* show)

Acess to ShowPointer property. If true a pointer line is drawn for applicable label types. See Smart Labels


HRESULT ShowText(VARIANT_BOOL show)
HRESULT GetShowText(VARIANT_BOOL* show)

If false the text is not drawn, only associated elements, like box and pointer are rendered


HRESULT GetBoxLineStyle(ILineStyle_KC** iStyle)

Acess to Line style for associated elements are rendered, like box and pointer


HRESULT GetOrientation(float* orientationAngleDegrees)
HRESULT SetOrientation(float orientationAngleDegrees)

Acess to orientation angle