signoAPI iOS – STRectDTO class

The STRectDTO class is a data object that represents a rectangle. The class is part of libSignoPDFSigner.

Property

Description

@property CGRect rectangle

Property

Description

CGRect rectangle

-

Return value

Description

-

-

Position specification of the rectangle

@property Unit unit

Property

Description

Unit unit

-

Return value

Description

-

-

Unit of measurement of the coordinates

The Unit enumeration is defined as follows:

typedef NS_ENUM(NSInteger, Unit) { UnitPoints, UnitMillimetres, UnitInches };

Value

Description

UnitPoints

The coordinates are given in points. A PDF document essentially has a resolution of 72 dpi.

UnitMillimetres

The coordinates are given in millimetres.

UnitInches

The coordinates are given in inches.