Unit is used to convert a wide variety of units to points, which is the unit used in PDF.
For a list of all members of this type, see Unit Members.
System.Object
System.ValueType
TallComponents.PDF.Unit
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
A point in PDF is exactly 1/72 inch. This is also known as a PostScript point. This class converts all units to PostScript points.
C#
myTable.PreferredWidth = Unit.Parse("50mm");
myFragment.FontSize = Unit.Parse("0.5in");
VB.NET
myTable.PreferredWidth = Unit.Parse("50mm")
myFragment.FontSize = Unit.Parse("0.5in")
Namespace: TallComponents.PDF
Assembly: TallComponents.PDF.ReaderControls (in TallComponents.PDF.ReaderControls.dll)
Unit Members | TallComponents.PDF Namespace