TsgDrawingNavigator

Hierarchy                Properties                Methods                Events

  Classes Reference > Viewer controls >

TsgDrawingNavigator

Hierarchy                Properties                Methods                Events

Previous pageReturn to chapter overviewNext page

TsgDrawingNavigator displays a graphical image.

Unit

sgDrawingNavigator

Description

Component TsgDrawingNavigator is intended for displaying files of various graphic formats. It descends from TsgCustomControl.

Object of TsgDrawingNavigator class allows:

loading files (LoadFromFile)
fitting selected by mouse rectangle within visible part of the control
scaling by mouse wheel
scaling by function (AlterScale)
panning by middle or right mouse button
panning by scroll bars
panning and scaling by function (ShowRect)
getting previous states of control (CallPreviousView)
fitting image within visible part of the control (FitToSize)
stretching within visible part of the control (Stretch)
snap (SnapControl)
converting point to drawing coordinates (GetDrawingCoords)
converting point to inner drawing's coordinates (GetDrawingInternalCoords)
converting point to inner drawing's coordinates without snapping (GetDrawingInternalCoordsWithoutSnap)
converting point UCS drawing's coordinates (GetDrawingUCSCoords) - for DXF and DWG only
displaying necessary point (ShowPoint)
changing background color (Color)
3D viewing (Orbit3D)

 

 

 

 

 

 

Go to CAD VCL Enterprise