User Tools

Site Tools


api:dk11:java:tatukgis.jdk.igis_viewer.pixelstotwips_integer

Table of Contents

IGIS_Viewer.PixelsToTwips method

DK11 for Java | tatukgis.jdk.IGIS_Viewer.PixelsToTwips | Methods | Properties

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

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public abstract int PixelsToTwips(
  int _size
);
// Oxygene
public
  function PixelsToTwips(
    _size : Integer
  ) : Integer;

Parameters

Name Type Description
_size int
Integer
size in pixels; absolute value will be taken

Result

Type Description
int
Integer
Size in twips.
2018/09/13 10:15