User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_controllegendexbmp

TGIS_ControlLegendExBmp class

DK11 for .NET | TatukGIS.NDK.WinForms.TGIS_ControlLegendExBmp | Classes | Constructors | Methods | Properties | Events

Bitmap representation of the legend. Internal use only.

Syntax

// C#
public class TGIS_ControlLegendExBmp : TGIS_BaseObjectDisposable, IGIS_LegendParent 
{
}
' VisualBasic
Public Class TGIS_ControlLegendExBmp
  Inherits TGIS_BaseObjectDisposable
  Implements IGIS_LegendParent
End Class
// Oxygene
type
  TGIS_ControlLegendExBmp = public class( TGIS_BaseObjectDisposable, IGIS_LegendParent )
  end;

Inheritance

→ TGIS_BaseObjectDisposable

Implements

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_ControlLegendExBmp() public Standard constructor.
TGIS_ControlLegendExBmp(int, int) public Creates an instance based on provided dimensions.
TGIS_ControlLegendExBmp(TBitmap) public Creates an instance to be set on provided existing bitmap.

Methods

Inherited Overrides Protected
Name Visibility Description
Clear public Clear the background with Color.
Collapse(IGIS_HierarchyGroup) public Collapses a legend item corresponding to a hierarchy group.
Collapse(IGIS_HierarchyGroup, bool, bool) public Collapses a legend item corresponding to a hierarchy group.
Collapse(TGIS_Layer) public Collapses a legend item corresponding to a layer.
ControlClientHeight public Get client height.
(Implements IGIS_LegendParent.ControlClientHeight)
ControlClientWidth public Get client width.
(Implements IGIS_LegendParent.ControlClientWidth)
ControlDragCreateTemporaryContext public Create temporary context to avoid flickering.
(Implements IGIS_LegendParent.ControlDragCreateTemporaryContext)
ControlDragDrawBar public Draw drag bar.
(Implements IGIS_LegendParent.ControlDragDrawBar)
ControlDragDrawBmpEx public
ControlDragDrawNode public Draw drag bitmap.
(Implements IGIS_LegendParent.ControlDragDrawNode)
ControlDragFreeNode public Free a node for dragging.
(Implements IGIS_LegendParent.ControlDragFreeNode)
ControlDragPrepareNode public Draw a node for dragging.
(Implements IGIS_LegendParent.ControlDragPrepareNode)
ControlDragRenderTemporaryContext public Render temporary context and destroy it.
(Implements IGIS_LegendParent.ControlDragRenderTemporaryContext)
ControlDrawFromCache public Draw cache.
(Implements IGIS_LegendParent.ControlDrawFromCache)
ControlDrawNode public Draw a node.
(Implements IGIS_LegendParent.ControlDrawNode)
ControlGetHScrollPosition public Get horizontal scrollbar position.
(Implements IGIS_LegendParent.ControlGetHScrollPosition)
ControlGetVScrollPosition public Get vertical scrollbar position.
(Implements IGIS_LegendParent.ControlGetVScrollPosition)
ControlHeight public Get control height.
(Implements IGIS_LegendParent.ControlHeight)
ControlIsDesignMode public Check if the control is in design mode.
(Implements IGIS_LegendParent.ControlIsDesignMode)
ControlRenderer public Get renderer instance.
(Implements IGIS_LegendParent.ControlRenderer)
ControlRepaint public Repaint the control.
(Implements IGIS_LegendParent.ControlRepaint)
ControlRightToLeft public Check if the control is in 'right to left' mode.
(Implements IGIS_LegendParent.ControlRightToLeft)
ControlSetHScroll public Set horizontal scrollbar range & position.
(Implements IGIS_LegendParent.ControlSetHScroll)
ControlSetHScrollPosition public Set horizontal scrollbar position.
(Implements IGIS_LegendParent.ControlSetHScrollPosition)
ControlSetVScroll public Set vertical scrollbar range & position.
(Implements IGIS_LegendParent.ControlSetVScroll)
ControlSetVScrollPosition public Set vertical scrollbar position.
(Implements IGIS_LegendParent.ControlSetVScrollPosition)
ControlStyleCreateTemporaryContext public Create temporary context.
(Implements IGIS_LegendParent.ControlStyleCreateTemporaryContext)
ControlStyleDrawCheckBox public Draw a check box.
(Implements IGIS_LegendParent.ControlStyleDrawCheckBox)
ControlStyleDrawExpandCollapseMarker public Draw an expand/collapse marker.
(Implements IGIS_LegendParent.ControlStyleDrawExpandCollapseMarker)
ControlStyleDrawImage public Draw image on temporary context.
(Implements IGIS_LegendParent.ControlStyleDrawImage)
ControlStyleDrawRectangle(int, int, int, int, TGIS_Color, TGIS_Color) public Draw a rectangle.
(Implements IGIS_LegendParent.ControlStyleDrawRectangle)
ControlStyleDrawRectangle(TRect) public Draw a rectangle.
(Implements IGIS_LegendParent.ControlStyleDrawRectangle)
ControlStyleDrawText public Draw text.
(Implements IGIS_LegendParent.ControlStyleDrawText)
ControlStyleGetBrushColor public Get brush color.
(Implements IGIS_LegendParent.ControlStyleGetBrushColor)
ControlStyleGetTextExtent public Get text extent.
(Implements IGIS_LegendParent.ControlStyleGetTextExtent)
ControlStyleRenderTemporaryContext public Render temporary context and destroy it.
(Implements IGIS_LegendParent.ControlStyleRenderTemporaryContext)
ControlStyleSetColorSelected public Set background color for selected nodes.
(Implements IGIS_LegendParent.ControlStyleSetColorSelected)
ControlStyleSetColorUnselected public Set background color for unselected nodes.
(Implements IGIS_LegendParent.ControlStyleSetColorUnselected)
ControlSubscribedUpdate public Do subscribed update.
(Implements IGIS_LegendParent.ControlSubscribedUpdate)
ControlUpdate public Do update.
(Implements IGIS_LegendParent.ControlUpdate)
ControlWidth public Get control width.
(Implements IGIS_LegendParent.ControlWidth)
Draw public Draw the legend.
Expand(IGIS_HierarchyGroup) public Expands of a legend item associated with the specific hierarchy group.
Expand(IGIS_HierarchyGroup, bool, bool) public Expands a legend item corresponding to a hierarchy group.
Expand(TGIS_Layer) public Expands a legend item associated with the specific layer.
IsExpanded(IGIS_HierarchyGroup) public Checks if the legend item is associated with the specific hierarchy group is expanded.
IsExpanded(TGIS_Layer) public Checks if the legend item is associated with the specific layer is expanded.
SetSize public Set a new bitmap size.

Properties

Inherited Protected
Name Visibility Description
Bitmap public Underlying bitmap.
Color public Background color.
CompactView public If True then the legend view is compacted - icons are smaller.
Font public Display font.
GIS_Group public Selected group.
GIS_Layer public Selected layer.
GIS_Viewer public Attached IGIS_Viewer control.
Height public Height of the bitmap.
Mode public Mode of the legend - list of layers or grouped tree view.
Options public Options of the legend.
ReverseOrder public True if the order of legend entries in the Layer mode should be reverse, i.e.
RightToLeft public Specifies the bidirectional mode for the legend.
RightToLeftFromTranslation public Defines which BiDi we are using: the one from property or the one from translation
Width public Width of the bitmap.

Events

Inherited Protected
Name Visibility Description
LayerActiveChangeEvent public Event fired when a layer is activated/deactivated.
LayerParamsChangeEvent public Event fired when a layer parameters get changed.
LayerSelectEvent public Event fired upon layer selection.
OrderChangeEvent public Event fired upon the change of the order of layers.

Remarks

For window output see TGIS_ControlLegendEx class.

2022/08/19 22:34

Page Tools