User Tools

Site Tools


api:dk11:net:tatukgis.ndk.wpf.tgis_viewerwnd.twipstopoints_integer

Table of Contents

TGIS_ViewerWnd.TwipsToPoints method

DK11 for .NET | TatukGIS.NDK.WPF.TGIS_ViewerWnd.TwipsToPoints | Constructors | Methods | Properties | Events

Convert the size from to device independent Twips (1/1440 inch) to device points. Used for advanced font sizing.

Available also on: Delphi FMX | Delphi VCL | .NET WinForms | Java.

Syntax

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

Parameters

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

Result

Type Description
int
Integer
2018/09/13 10:23