R
Ramsey Schaffnit
Context: I have to print personal information on a preprinted form I've
never seen using a printer I've never seen. I want to use a control to
overlay the PrintPreview to indicate where I've printed. I want to use a
separate control in order to allow the user to drag the field to a different
position on the form so it doesn't have to come back for me to change the
code. I want to use the PrintPreview because it fits so naturally with
printing to the real printer. Note that one consequence of this strategy is
that I'll need to relocate the highlight as the PrintPreview is zoomed or
panned. Pretend that I'm using a label control with a transparent
background.
I can't find the position of the image within the PrintPreviewControl or the
PrintPreviewDialog. I've tried deriving classes from each. In the debugger
I can see several fields which are not referenced in the documentation and
which, not surprisingly, are not available to my code. One of them appears
to include the image size and location.
1. (How) can I get to the image location.
2. A control on top of the PrintPreviewControl shows the printed document
image through the label. A control on top of the PrintPreviewDialog (form)
shows the dialog's background through the label. Should I assume that the
Dialog approach is a dead end?
3. What else am I not seeing?
Thanks,
Ramsey
never seen using a printer I've never seen. I want to use a control to
overlay the PrintPreview to indicate where I've printed. I want to use a
separate control in order to allow the user to drag the field to a different
position on the form so it doesn't have to come back for me to change the
code. I want to use the PrintPreview because it fits so naturally with
printing to the real printer. Note that one consequence of this strategy is
that I'll need to relocate the highlight as the PrintPreview is zoomed or
panned. Pretend that I'm using a label control with a transparent
background.
I can't find the position of the image within the PrintPreviewControl or the
PrintPreviewDialog. I've tried deriving classes from each. In the debugger
I can see several fields which are not referenced in the documentation and
which, not surprisingly, are not available to my code. One of them appears
to include the image size and location.
1. (How) can I get to the image location.
2. A control on top of the PrintPreviewControl shows the printed document
image through the label. A control on top of the PrintPreviewDialog (form)
shows the dialog's background through the label. Should I assume that the
Dialog approach is a dead end?
3. What else am I not seeing?
Thanks,
Ramsey