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 ViewsViews
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


ILineStyle_KC Interface

SetColor
GetColor
GetLineWidth
SetLineWidth
GetStippleFlag
SetStippleFlag
GetStipplePattern
SetStipplePattern
GetStippleFactor
SetStippleFactor

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


void SetColor(Color_KC color)
void GetColor(out Color_KC color)


float GetLineWidth()
void SetLineWidth(float width)


bool GetStippleFlag()
void SetStippleFlag(bool stipple)

Boolean property. If true the line is rendered stippled


int GetStipplePattern()
void SetStipplePattern(int pattern)

StipplePattern - (unsigned short) Specifies style of the line: Common styles: 0x00FF Dashed; 0x0101 Dotted; 0x1c47 Dash - Dot style. See online documentation (MSDN site: https://msdn.microsoft.com/en-us/library/ ) for glLineStipple OpenGL function for other styles. This property has no effect if the Stipple property is false


int GetStippleFactor()
void SetStippleFactor(int factor)

StippleFactor - (interger) Specifies how the stipple pattern is stretched. See online documentation (MSDN site: https://msdn.microsoft.com/en-us/library/ ) for glLineStipple OpenGL function for details. This property has no effect if the Stipple property is false