Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: how to set permission to export PDF?

$
0
0

Our plugin converts PDF to TIFF automatically. How can we set option not to show pop-up dialog boxes, i.e. not to interact with user?

So far, we set  kAVConversionNoFlags and for AVConversionConvertFromPDFWithHandler setting use:

     ASCab settings = ASCabNew();

    ASCabPutInt( settings, kExtractImgCmdKeyResolution, kImgResolutionAuto );

    ASCabPutInt( settings, kExtractImgCmdKeyColorSpace, kColorSpaceMonochrome );

    ASCabPutInt( settings, kExtractImgCmdKeyConvFormat, kImgConversionFormatTiff );

    ASCabPutInt( settings, kExtractImgCmdKeyConfigured, true );

    ASCabPutInt( settings, kExtractTiffCmdKeyMonoCompression, kTiffCompressionCCITT_G4 );

    ASCabPutInt( settings, kInsertPagesCmdKeyInsertBefore, kAVPosRelativeToFirst );


Viewing all articles
Browse latest Browse all 10848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>