PDFsharp-net6

XGraphicsUnit

Namespace: PdfSharp.Drawing

Specifies the unit of measure.

public enum XGraphicsUnit

Inheritance ObjectValueTypeEnumXGraphicsUnit
Implements IComparable, IFormattable, IConvertible

Fields

Name Value Description
Point 0 Specifies a printer’s point (1/72 inch) as the unit of measure.
Inch 1 Specifies the inch (2.54 cm) as the unit of measure.
Millimeter 2 Specifies the millimeter as the unit of measure.
Centimeter 3 Specifies the centimeter as the unit of measure.
Presentation 4 Specifies a presentation point (1/96 inch) as the unit of measure.