User Tools

Site Tools


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

Table of Contents

TGIS_ViewerWnd.TwipsToPoints method

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

Convert the size from to device independent Twips (1/1440 inch) to device points. Used for advanced font sizing.

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

Syntax

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

Parameters

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

Result

Type Description
int
Integer
2020/05/22 01:13