User Tools

Site Tools


api:dk11:delphi:gisinterfaces.igis_viewer.twipstopoints_integer

Table of Contents

IGIS_Viewer.TwipsToPoints method

DK11 for Delphi | GisInterfaces.IGIS_Viewer.TwipsToPoints | Methods | Properties

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

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

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:18

Page Tools