User Tools

Site Tools


api:dk11:delphi:gisinterfaces.igis_viewer.twipstopixels_integer

Table of Contents

IGIS_Viewer.TwipsToPixels method

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

Convert the size from to device independent Twips (1/1440 inch) to device dependent pixels. Used to make map device independent.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  function TwipsToPixels(
    const _size : Integer
  ) : Integer;
// C++ Builder
public:
  int TwipsToPixels(
    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 twips.
2022/11/16 01:18

Page Tools