Home Page > Programming Samples and Tutorials > Overview > DIView
DIView Sample
DIView Sample
DIView is a simple application, which displays a DInsight model in a
resizable view. It demonstrates how KernelCAD control can be integrated into a
resizable window. It also demonstrates implementation of Save and Open model
file functionality, changing between surface and wireframe rendering and
programming various styles of gradient background.
Running the application
Observe behavior of the component on resizing and maximizing the window.
FFile menu offers Save As, Open and Print commands.
Tools > Options menu command opens dialog, which allows changing between
surface and wireframe rendering. The background group of controls offers options
of flat or gradient background. In gradient mode colors can be modified with the
provided edit boxes. Style radio buttons offer selection between horizontal,
vertical, corner and curtain layouts. These layouts can be customized in
implementation to an unlimited set styles.
Tools > Grid dialog allows enabling and modify in properties of the
Mesurement Grid. This dialog is identical to
one displayed form the View submenu of the context menu
Implementation
Please select your language:
.NET Platform
C#
VB .NET
Native
C++
Visual Basic
See also: All samples
|