User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_viewerwnd.pixelstotwips_integer

Table of Contents

TGIS_ViewerWnd.PixelsToTwips method

DK11 for .NET | TatukGIS.NDK.WinForms.TGIS_ViewerWnd.PixelsToTwips | Constructors | Fields | 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: Delphi FMX | Java | ActiveX.

Syntax

Implements IGIS_Viewer.PixelsToTwips.

// C#
public int PixelsToTwips(
  int _size
);
' VisualBasic
Public Function PixelsToTwips(
  ByVal _size As Integer
) As Integer
// Oxygene
public
  function PixelsToTwips(
    _size : Integer
  ) : Integer;

Parameters

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

Result

Type Description
int
Integer
2020/05/22 01:17