User Tools

Site Tools


api:dk11:net:tatukgis.ndk.igis_viewer.twipstopoints_integer

Table of Contents

IGIS_Viewer.TwipsToPoints method

DK11 for .NET | TatukGIS.NDK.IGIS_Viewer.TwipsToPoints | Methods | Properties

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

Available also on: Delphi | Java | ActiveX.

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
Size in points.
2020/05/07 01:19

Page Tools