User Tools

Site Tools


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

Table of Contents

TGIS_ViewerWnd.TwipsToPixels method

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

Syntax

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

Parameters

Name Type Description
_size int
Integer
size in twips; if negative then treated as pixels

Result

Type Description
int
Integer
2017/09/04 11:29