PrintDocument Options

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

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

defcon8808
User
Posts: 64
Joined: Sat Dec 13, 2014 6:59 am

PrintDocument Options

Post by defcon8808 »

Hi.

Check This Issue.

0. Click "Print". And Popup Print Dialog.

1. Select "Selected Page" from "Page Range".

2. AxCoPDFXCview1.GetProperty("Print.RangeType", info.sRangeText, 0) -> Code Debug value check.

3. info.sRangeText value is "All".

i read document "PDFV_AX.pdf". Define "Selected" is "9" From 274 page. but im not see value "Selected" or "9".

Is This Issue Bug right?

* Attach Images Process.

1 -> 1-1 -> 2 -> 2-2.

Thanks. :)
You do not have the required permissions to view the files attached to this post.
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: PrintDocument Options

Post by Ivan - Tracker Software »

Properties value are not changed once you change control's state on Print dialog. These changes will be applied when your press "Print" button on the "Print dialog".
You can get these new values handling printing event (https://help.pdf-xchange.com/DEV/de ... ions_print).
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
defcon8808
User
Posts: 64
Joined: Sat Dec 13, 2014 6:59 am

Re: PrintDocument Options

Post by defcon8808 »

Ivan - Tracker Software wrote:Properties value are not changed once you change control's state on Print dialog. These changes will be applied when your press "Print" button on the "Print dialog".
You can get these new values handling printing event (https://help.pdf-xchange.com/DEV/de ... ions_print).
Hi. I understood your answer. then check value "Selected Page" And "Current View" From "Page Range".

but.. How do i getting user select value in printing event?

i want to know "User is Select Value From Print Range".

I'm not good at English Write. Sorry...

I hope that you have understood.

Thank you. :D
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19868
Joined: Mon Jan 12, 2009 8:07 am

Re: PrintDocument Options

Post by Stefan - PDF-XChange »

Hello defcon8808,

I do not believe there is a notification for capturing the user input in this print dialogue. So you can try to capture the event when the user begins printing - and instead of showing the Viewer window, show your custom one. Capture all the settings the user inputs and then pass them via code to initiate the printing process.

Regards,
Stefan