What is a Bounding Box?
In Nitro, a bounding box is the container of a signature field. The bounding box of a field is defined by the top-left coordinate of the rectangle and the size of the rectangle. Keep in mind that:- Coordinates are expressed in points (pt).
- Size is expressed in points (pt).
- The origin of the document, or position (0,0), is located at the top-left corner.
What is a point (pt)?
What is a point (pt)?
The Bounding Box Array
In Nitro, the bounding box of a field is defined as an array with the format:[x, y, w, h]
These values represent the starting coordinates of the bounding box and the size of the rectangle, as shown in the diagram below:

x: The horizontal position of the first corner, measured from the left edge of the document.y: The vertical position of the first corner, measured from the top edge of the document.w: The width of the bounding box.h: The height of the bounding box.
Bounding Box Example
To visualize a bounding box, let’s assume we are placing a field on a standard US Letter–sized document with dimensions612 pt (width) × 792 pt (height).
In this document, the field is positioned using the following bounding box array:
- The first corner of the field is located at 200 points from the left edge (x) and 300 points from the top edge (y) of the document.
- The field’s box has a width of 60 pt and a height of 40 pt.

How can I find coordinates in my document?
The easiest way to determine the coordinates of a field is by using image or PDF visualization software. Most PDF viewing and editing tools support points (pt) and allow you to inspect point-based coordinates within a document. Below are a few software-specific instructions for locating the position of fields in your document. Keep in mind that this is not a comprehensive list.Nitro PDF - Windows
Nitro PDF - Windows
Open a document

Set Points as measuring unit
- Go to
Filetab in the navigation menu and selectPreferencesin the left panel. A preferences window will open.

- In the
Preferenceswindow, selectUnits and Gridfrom the left panel. - In the
Unitssection, setDefault UnitstoPointsfrom the dropdown menu. - Click
Applyto save your changes.

Select Crop tool (add it if needed)

- Go to the
Hometab in the navigation menu. - Click
Add ToolsorCustomize Toolsin the upper-right corner of the application. A customization window will appear.

- In the search bar, type
Cropand clickSearch. - Select
Cropfrom the results and add it to yourFavoritetools. - Click
OK. TheCroptool will now appear in your tools menu. - Select the
Croptool to activate it.

Draw the field rectangle with the Crop tool

Get the coordinates of the first corner of the rectangle
x, y) of your rectangle:- The left-side measurement corresponds to
x.- Example:
228.2 pt
- Example:
- The top-side measurement corresponds to
y.- Example:
637.8 pt
- Example:

Get the rectangle's size
- First, note the width measurement of the rectangle.
- Example:
w = 168.15 pt
- Example:
- Next, note the height measurement of the rectangle.
- Example:
h = 35.27 pt
- Example:

Define the bounding box array
Nitro PDF - Mac OS
Nitro PDF - Mac OS
Open a document

Get the document's dimensions
595.3 pt x 841.9 pt.
Click the Select Rectangle tool

Draw the field rectangle with the Select Rectangle tool

Get the coordinates of the first corner of the rectangle
x, y) of your rectangle:- The left-side measurement corresponds to
x.- Example:
204.7 pt
- Example:
- The top-side measurement corresponds to
y.- Example:
613.8 pt
- Example:

Get the coordinates of the opposing corner
- First, note the right-side measurement of the rectangle. This is the distance from the rectangle to the right edge of the document.
- Example:
217.8 pt
- Example:
- Next, note the bottom-side measurement of the rectangle. This is the distance from the rectangle to the bottom edge of the document.
- Example:
193.8 pt
- Example:
-
Formula for
w:w = Document Width − Right-side distance - Left-Side distancew = 595.3 pt − 217.8 pt - 204.7 ptw = 172.8 pt
-
Formula for
h:h = Document Height − Bottom-side distance - Top-side distanceh = 841.9 pt − 193.8 pt - 613.8h = 34.3 pt

Define the bounding box array
Preview - Mac OS
Preview - Mac OS
Select the Crop tool
- Select Points as the measuring unit from the dropdown.
- Note the document size displayed under Media Box.

Locate the upper-left corner of your field
- In the Selection section of the floating menu, note the top and left measurements. These values will serve as the starting coordinates of your field
x, y. - Note the Width and Height
w, h

Define the bounding box array