User Tools

Site Tools


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

Table of Contents

TGIS_ViewerWnd.TwipsToPixels method

DK11 for Delphi | FMX.GisViewerWnd.TGIS_ViewerWnd.TwipsToPixels | Constructors | Methods | Properties | Events

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 WinForms | Java | ActiveX | Python.

Syntax

Implements IGIS_Viewer.TwipsToPixels.

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

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

Page Tools