DynaPDF offers a function GetUserUnit to get the user unit of the current open page.
Trouble is, I cannot see a way to specify which page will be the current open page.
Can anyone provide guidance on the correct usage of GetUserUnit?
DynaPDF offers a function GetUserUnit to get the user unit of the current open page.
Trouble is, I cannot see a way to specify which page will be the current open page.
Can anyone provide guidance on the correct usage of GetUserUnit?
You would call EditPage() to open a page for editing. Then you can query the unit.
Thank you for the tip.
Does this apply even in cases where I am not trying to edit the document? I am using DynaPDF to parse and load an existing document but I do not need to edit it.
Yes, of course. It’s more an open page command.
You don’t need to modify the page.
Thank you