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.

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.
2020/05/07 01:07

Page Tools