To add a graphic from PDF data to a layer, you can use:
- POST api/projects/{projectId}/layers/{layerId}/graphics?pageBox=pageBox
Where the pageBox is one of the values listed below:
| Name | Number | Description |
|---|---|---|
| n/a | 0 | PDF MediaBox |
| n/a | 1 | PDF ArtBox |
| n/a | 2 | PDF BleedBox |
| n/a | 3 | PDF CropBox |
| n/a | 4 | PDF TrimBox |
| n/a | 5 | Use this value if you don't care which Page Box is to be used (normally this is the same as MediaBox). |