Buttons on the Document Print Screen
In the API V9Preview1, the ability to add buttons to the document print screen on the front end has been introduced, allowing plugins to invoke their own windows.
A method AddButtonToDocumentsScreen has been added with the following parameters:
caption— button text,iconGeometry— icon in Path Markup format (can be without an icon),callback— button click handler, where dialog windows can be shown and changes can be made.
In the API V9Preview1, a new type IDocument has also been added, which transmits the document type and number when the button is clicked.