Change Web Optimization/Linearization property

If you are a Power Builder developer and have any questions about using our products from Power Builder here is the place to post them.
Post Reply
akosko
Posts: 8
Joined: Mon Jan 06 2003

Change Web Optimization/Linearization property

Post by akosko » Mon Jan 06 2003

I use PDF Writer and I use an object to set up and print required document.
I have a problem with setting up a property named Web Optimization/Linearization property. If I check it manually in PDF Writer options it gets reset the very first time through the printing. I would change it directly in my object but I cannot find out how to do it.

Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan » Tue Jan 07 2003

Hello,

I guess you mean that you are using the "PDF Converter" and not "PDF Writer". Right?

To set linearization please add 8000 Hexadecimal or 32768 Dec to your call of FileNameOptions.

You may need to replace FileNameOptions by FileNameOptionsEx if you are using the ActiveX interface of CDintf.

Hope this helps.

Post Reply