User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.twipstopoints_integer

Table of Contents

TGIS_Viewer.TwipsToPoints method

DK11 for Delphi | GisViewer.TGIS_Viewer.TwipsToPoints | Constructors | Fields | 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: .NET | Java | ActiveX | Python.

Syntax

Implements IGIS_Viewer.TwipsToPoints.

// Delphi
public
  function TwipsToPoints(
    const _size : Integer
  ) : Integer; inline;
// C++ Builder
public:
  int TwipsToPoints(
    const int _size
  );

Parameters

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

Result

Type Description
Integer Size in points.
2022/11/30 19:19

Page Tools