How to allow commenting security properties

Hi,

I have a page in php using dhtmlx. I can export it to pdf with toPdf(). I saw that I could change some properties of the document, but not the one I want to.

I want to be able to (for example) highlight some text in the pdf document. But I can’t. When I open the Document properties I see in the security
Commenting : Not Allowed.

I want to change this setting, but I don’t know how I can to this. Can someone help?

Thanks

Most possible it is the default options of used lib ( at least it was not set specially )
We are providing full sources for all export libraries, so you can customize them in the necessary way.