User Tools

Site Tools


api:dk11:delphi:fmx.gisviewerwnd.tgis_viewerwnd.twipstopoints_integer

Table of Contents

TGIS_ViewerWnd.TwipsToPoints method

DK11 for Delphi | FMX.GisViewerWnd.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: .NET WinForms | Java | ActiveX | Python.

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.
2022/11/16 01:14

Page Tools