Pdftools SDK
Pdftools SDK
Namespaces
PdfTools.Geometry.Units
Length Structure
Length Methods
Abs Method
cm Method
Equals Method
GetHashCode Method
in Method
km Method
m Method
Max Method
Min Method
mm Method
Parse Method
ParseArray Method
ParseUnit Method
pt Method
ToString Method
um Method
Length
Parse
Unit Method
Creates a
Length
object.
Namespace:
PdfTools.Geometry.Units
Assembly:
PdfTools (in PdfTools.dll) Version: 1.7.0+cfcc11b476b3e1eb4320f0f37269191f64e36bd8
Syntax
C#
Copy
public
static
Length
ParseUnit
(
double
value
,
string
unit
)
Parameters
value
Double
The value of the provided length.
unit
String
The unit of the
value
. Allowed units are: "um", "mm", "cm", "m", "km", "pt" and "in".
Return Value
Length
Exceptions
Exception
Condition
ArgumentException
if
unit
is invalid.
See Also
Reference
Length Structure
PdfTools.Geometry.Units Namespace
Copyright © PDF Tools AG 2024