User Tools

Site Tools


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

Table of Contents

TGIS_ViewerWnd.PixelsToTwips method

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

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

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

Syntax

Implements IGIS_Viewer.PixelsToTwips.

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

Parameters

Name Type Description
_size Integer size in pixels; absolute value will be taken

Result

Type Description
Integer
2020/05/22 01:06

Page Tools