User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_viewerwnd.twipstopixels_integer

Table of Contents

TGIS_ViewerWnd.TwipsToPixels method

DK11 for Java | tatukgis.jdk.TGIS_ViewerWnd.TwipsToPixels | Constructors | Methods | Properties | Events

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 | Delphi VCL | .NET WinForms | .NET WPF.

Syntax

// Java
public int TwipsToPixels(
  int _size
);
// 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
2017/09/04 11:22