Flags values for op.document.rasterizePages

PDF-XChange Editor SDK for Developers

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
RMan
User
Posts: 235
Joined: Tue Jul 02, 2013 10:06 pm

Flags values for op.document.rasterizePages

Post by RMan »

I've figured most of it out but do you have the Flag values for the op.document.rasterizePages. We're trying to basically flatten everything to a raster PDF.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 12219
Joined: Wed Jan 03, 2018 6:52 pm

Re: Flags values for op.document.rasterizePages

Post by Daniel - PDF-XChange »

Hello, RMan

I have passed this question up to the Dev team for assistance. Hopefully they can get back to you soon.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2468
Joined: Thu Jun 30, 2005 4:11 pm

Re: Flags values for op.document.rasterizePages

Post by Vasyl - PDF-XChange »

Hi RMan.

There are some undocumented flags:

Code: Select all

Keep_Comments = 0x0001,
Rasterize_Comments = 0x0002,
Remove_Comments = 0x0004,

Keep_Form_Fields = 0x0010,
Rasterize_Form_Fields = 0x0020,
Remove_Form_Fields = 0x0040,

Keep_Links = 0x0100,
Rasterize_Links = 0x0200,
Remove_Links = 0x0400,

Keep_Text = 0x1000,
Rasterize_Text = 0x2000,
HTH.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
RMan
User
Posts: 235
Joined: Tue Jul 02, 2013 10:06 pm

Re: Flags values for op.document.rasterizePages

Post by RMan »

Thanks so much.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 12219
Joined: Wed Jan 03, 2018 6:52 pm

Flags values for op.document.rasterizePages

Post by Daniel - PDF-XChange »

:)
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com