Here you will find some examples of how HexaPDF can be used as a library. All example files are shipped with HexaPDF in the example/ directory. Use the menu to display an example.

If you are looking for examples on how to use the hexapdf application, have a look at the examples section of its manual page.