User Tools

Site Tools


api:dk11:delphi:gisinterfaces.igis_viewer.pixelstotwips_integer

Table of Contents

IGIS_Viewer.PixelsToTwips method

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

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

Available also on: .NET | Java | ActiveX.

Syntax

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

Parameters

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

Result

Type Description
Integer Size in twips.
2020/05/07 01:07

Page Tools