User Tools

Site Tools


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

Table of Contents

TGIS_Viewer.TwipsToPixels method

DK for Java | tatukgis.jdk.TGIS_Viewer.TwipsToPixels | Constructors | Fields | 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 | .NET | ActiveX | Python.

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
Size in twips.
2025/01/31 01:18

Page Tools