User Tools

Site Tools


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

Table of Contents

TGIS_ViewerWnd.TwipsToPoints method

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

Syntax

Implements IGIS_Viewer.TwipsToPoints.

// 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
2020/05/22 01:17

Page Tools