How do you get the Scope in PDFlib -


i'm starting out in pdflib, , manual (for pdflib 8) says scope ...

you can query current scope scope parameter.

but have no idea how @ parameter, , internet searches getting me because "get scope" everywhere.

i use following construct in php:

pdf_get_string($p, pdf_get_option($p, 'scope', ''), '') 

explanation: pdf_get_option gets current scope integer, , pdf_get_string resolves integer nice string. return "template" or "page".

if use pdflib object oriented, code this:

$p.get_string($p.get_option('scope', ''), ''); 

and should easy enough adapt java.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -