In case anyone else needs examples, here is the working code I used.  I had
tried to use the PoDoFo::PdfDocument::SetViewerPreference() function with
no success.  I was not able to find any example code for using that
function.  Particularly kept running into "This is a private function"
errors during compile.  I ended up finding the  SetPrintScaling() function
which worked without issue.



PdfName pdfname_none = PdfName("None");
pdf_document.SetPrintScaling(pdfname_none);

On Thu, Jan 5, 2017 at 1:03 PM, Robert Goley <rago...@rdasys.com> wrote:

> What would the comparable steps for doing this
> <http://developers.itextpdf.com/question/how-prevent-resizing-pages-pdf> be
> in the PoDoFo API?  Particularly looking for the equivalent to iText's
> "writer.addViewerPreference(PdfName.PRINTSCALING, PdfName.NONE);"
> command.  I know PoDoFo has instructions for creating various parameter etc
> but I am unsure of the usage.
>
>
> --
>
>


--
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to