User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_symbolabstract.prepare_igis_viewer_integer_itgis_color_itgis_color_double_integer_tgis_symbolposition_wordbool

Table of Contents

ITGIS_SymbolAbstract.Prepare method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_SymbolAbstract.Prepare | Methods | Properties

Prepare symbol

Available also on: Delphi | .NET | Java.

Syntax

// C#
public void Prepare(
  IGIS_Viewer _viewer,
  int _size,
  ITGIS_Color _color1,
  ITGIS_Color _color2,
  double _angle,
  int _gap,
  TGIS_SymbolPosition _position,
  WordBool _marker
);
' VisualBasic
Public Sub Prepare(
  ByVal _viewer As IGIS_Viewer,
  ByVal _size As Integer,
  ByVal _color1 As ITGIS_Color,
  ByVal _color2 As ITGIS_Color,
  ByVal _angle As Double,
  ByVal _gap As Integer,
  ByVal _position As TGIS_SymbolPosition,
  ByVal _marker As WordBool
)
// Oxygene
public
  procedure Prepare(
    _viewer : IGIS_Viewer;
    _size : Integer;
    _color1 : ITGIS_Color;
    _color2 : ITGIS_Color;
    _angle : Double;
    _gap : Integer;
    _position : TGIS_SymbolPosition;
    _marker : WordBool
  );

Parameters

Name Type Description
_viewer IGIS_Viewer pointer to the viewer
_size int
Integer
desired size
_color1 ITGIS_Color color to be used as the main color for the symbol; if GIS_RENDER_COLOR is used, then original symbol color will be used
_color2 ITGIS_Color color to be used as the secondary color for the symbol; if GIS_RENDER_COLOR is used, then original symbol color will be used
_angle double
Double
rotation angle in radians (clockwise)
_gap int
Integer
gap between symbols
_position TGIS_SymbolPosition symbol position
_marker WordBool if True the symbol is a marker symbol; symbols connected to markers are not rotated with the viewer
2020/05/07 01:05

Page Tools