Click or drag to resize

LineGetPadding Method

Gets the rectangle difference of the Square. (Optional; PDF 1.5)

Namespace:  pdftron.PDF.Annots
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public Rect GetPadding()

Return Value

Type: Rect
A set of four numbers(represented as a Rect object) specifying the difference on the four different directions.

Implements

IMarkupGetPadding
Remarks
rectangle difference is A set of four numbers that shall describe the numerical differences between two rectangles: the Rect entry of the annotation and the actual boundaries of the underlying square or Square. Such a difference may occur in situations where a border effect (described by BE) causes the size of the Rect to increase beyond that of the square or Square. The four numbers shall correspond to the differences in default user space between the left, top, right, and bottom coordinates of Rect and those of the square or Square, respectively. Each value shall be greater than or equal to 0. The sum of the top and bottom differences shall be less than the height of Rect, and the sum of the left and right differences shall be less than the width of Rect.
See Also