# Adding custom information on shapes and custom items

**URL:** <https://pdfjs.community/t/adding-custom-information-on-shapes-and-custom-items/486>\
**Category:** Technical Support\
**Created:** [February 9, 2021, 6:47pm UTC](https://pdfjs.community/t/adding-custom-information-on-shapes-and-custom-items/486 "2021-02-09T18:47:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![abp](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@abp](https://pdfjs.community/u/abp)\
**Post date:** [February 9, 2021, 6:47pm UTC](https://pdfjs.community/t/adding-custom-information-on-shapes-and-custom-items/486/1 "2021-02-09T18:47:34Z")

</div>

**Detailed description of issue**  
{Hello,

1. I’m intrested to know if it’s possible to add custom information on shapes like lines. Basically we are drawing a line and we need to attach some custom informations.

2. Also we have some items in database and an item has the next properties: id, name, code, description, type, image/ color, otherProperties. We want to draw on the pdf using this items. The item type can be for example, line or a stamp. If it’s line we need to draw a line shape using the properties of the item (in otherProperties for ex we have color). If it’s type stamp we need to use this item as a stamp using the item properties.}

---

_[View the full topic](https://pdfjs.community/t/adding-custom-information-on-shapes-and-custom-items/486)._
