public class ConvertUtil extends Object
The class contains the methods for converting values.
Constructor and Description |
---|
ConvertUtil() |
Modifier and Type | Method and Description |
---|---|
static float |
halfInchToInch(float inches)
Convert half-inch to inches.
|
static float |
halfInchToPoint(float halfinches)
The half inch to point.
|
static int |
halfPointToPoint(int halfpoints)
Convert half-point to point.
|
static float |
inchToPoint(float inches)
The inch to point.
|
static float |
indentPositionToPoint(byte indentPosition)
The indent position to point.
|
static float |
pointToHalfInch(float points)
The point to half inch.
|
static int |
pointToHalfPoint(int points)
The point to half point.
|
static int |
pointToPixle(float points,
float dpi)
The point to pixle.
|
public static float pointToHalfInch(float points)
The point to half inch.
points
- The points.float
.public static float halfInchToPoint(float halfinches)
The half inch to point.
halfinches
- The halfinches.float
.public static int pointToPixle(float points, float dpi)
The point to pixle.
points
- The points.dpi
- Screen resolution.int
.public static float halfInchToInch(float inches)
Convert half-inch to inches.
inches
- The inches value.public static float inchToPoint(float inches)
The inch to point.
inches
- The inches.float
.public static int halfPointToPoint(int halfpoints)
Convert half-point to point.
halfpoints
- The half-point value.public static int pointToHalfPoint(int points)
The point to half point.
points
- The points.int
.public static float indentPositionToPoint(byte indentPosition)
The indent position to point.
indentPosition
- The indent position.float
.Copyright (c) 2016 Aspose. All Rights Reserved.