Skip to main content

TdxPDFPageInfo.UserUnit Property

Specifies the size of user units used to define dimensions on the PDF document page.

Declaration

property UserUnit: Integer read;

Property Value

Type Description
Integer

The user unit multiplier for the document page according to the PDF 1.6 standard.

Remarks

The majority of dimensions in PDF documents is defined in user space units according to the ISO-32000-1 standard (section 8.3.2.1). The default user unit is 1/72 of an inch, which is approximately equal to a typographic point (pt) commonly used in the printing industry.

The UserUnit property returns a positive integer value that defines the size of user space units on the PDF document page. To identify the actual user unit size, multiply the UserUnit property value by 1/72 of an inch. Then, you can convert this value to the required measurement units.

Note

The user unit multiplier is defined in the PDF 1.6 standard. Therefore, the corresponding entry is absent in the PDF documents that comply with earlier PDF standard versions. If a PDF document stores no user unit multiplier, the UserUnit property returns 1.

See Also