User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_rendererabstract.createcontext_igis_viewerparent_igis_viewer_itgis_renderercontext_itpoint_integer_integer_integer_integer

Table of Contents

ITGIS_RendererAbstract.CreateContext method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_RendererAbstract.CreateContext | Methods | Properties

Initiate context for the renderer.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public void CreateContext(
  IGIS_ViewerParent _parent,
  IGIS_Viewer _viewer,
  ITGIS_RendererContext _context,
  ITPoint _shift,
  int _width,
  int _height,
  int _ppi,
  int _fontscale
);
' VisualBasic
Public Sub CreateContext(
  ByVal _parent As IGIS_ViewerParent,
  ByVal _viewer As IGIS_Viewer,
  ByVal _context As ITGIS_RendererContext,
  ByVal _shift As ITPoint,
  ByVal _width As Integer,
  ByVal _height As Integer,
  ByVal _ppi As Integer,
  ByVal _fontscale As Integer
)
// Oxygene
public
  procedure CreateContext(
    _parent : IGIS_ViewerParent;
    _viewer : IGIS_Viewer;
    _context : ITGIS_RendererContext;
    _shift : ITPoint;
    _width : Integer;
    _height : Integer;
    _ppi : Integer;
    _fontscale : Integer
  );

Parameters

Name Type Description
_parent IGIS_ViewerParent viewer parented interface; for Control* like methods
_viewer IGIS_Viewer viewer object
_context ITGIS_RendererContext drawing context
_shift ITPoint left and upper margins for the drawing surface
_width int
Integer
width of the drawing surface
_height int
Integer
height of the drawing surface
_ppi int
Integer
resolution for the drawing surface
_fontscale int
Integer
font scaling factor in percents
2020/05/07 01:04

Page Tools