Print Comments while saving to PDF with Golang via C++

The following sample code illustrates how to use PrintCommentsType to print comments while saving to PDF.