User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.igis_viewer.twipstopixels_integer

Table of Contents

IGIS_Viewer.TwipsToPixels method

DK for ActiveX | TatukGIS_XDK11.IGIS_Viewer.TwipsToPixels | Methods | Properties

Converts a size from device-independent twips (1/1440 inch) to device-dependent pixels to keep the map device independent.

Available also on: Delphi | .NET | Java | Python.

Syntax

// C#
public int TwipsToPixels(
  int _size
);
' VisualBasic
Public Function TwipsToPixels(
  ByVal _size As Integer
) As Integer
// Oxygene
public
  function TwipsToPixels(
    _size : Integer
  ) : Integer;

Parameters

Name Type Description
_size int
Integer
Size in twips; if negative then treated as pixels.

Result

Type Description
int
Integer
Size in pixels.
2026/07/11 00:07

Page Tools