User Tools

Site Tools


api:dk11:delphi:vcl.gisviewerbmp.tgis_viewerbmp.twipstopoints_integer

Table of Contents

TGIS_ViewerBmp.TwipsToPoints method

DK11 for Delphi | VCL.GisViewerBmp.TGIS_ViewerBmp.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 | Java | ActiveX.

Syntax

Implements IGIS_Viewer.TwipsToPoints.

// Delphi
public
  function TwipsToPoints(
    const _size : Integer
  ) : Integer;
// 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.
2024/12/20 21:56

Page Tools