User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_viewerwnd.twipstopixels_integer

Table of Contents

ITGIS_ViewerWnd.TwipsToPixels method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_ViewerWnd.TwipsToPixels | Methods | Properties

Convert the size from to device independent Twips (1/1440 inch) to device dependent pixels. Used to make map device independent.

Available also on: Delphi FMX | .NET WinForms | Java.

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 twips.
2020/05/22 01:05