DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
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 Go to DGKC docs Search Documentation


LabelEx Sample

Running the application

On start the application displays model Models\Samples\LabelEx.mdg, which has two labels. One is attached as a child to Box object. Another one does not have a parent so it is a standalone top-level label.

"Positioning Type" radio buttons allow switching between Model and Eye frame types of the relevant label. "Z Order" radio buttons allow selection of the Depth Position Type.

Edit boxes allow entering coordinates for location of the label. Press Tab key to enter a value. Meaning of the coordinates is different for different selection in "Positioning Type" and "Z Order" groups. See Localized Items for more details.

Try selection of "Top Of Parent" or modification of z coordinate to observe obscuring of the child label by the sphere object. Repeat the same experiment with the standalone label.

When "Standard Location" check box is on, the enabled radio buttons allow positioning the label on the top, bottom, right or front side of its parent object.

The Sticky Label radio buttons allow switching between the Attached and Free states of the Sticky Label displayed on the yellow object

Turn on the "Modify Position" check box and rotate the sticky label with the mouse to change its orientation. Hold shift key to tralslate. In attached state this operation is performed by sliding the label along the surface. The check box is automatically cleared and view is retuned to the default mode when the operation is completed (mouse released)