I am using the gdViewer to display a pdf. There are also several zooming tools that allow the user to focus on specific parts of the pdf. Is there a way to print only the portion of the pdf that is displayed in the viewer after a zoom? When I use the 'PrintDialogFit' option the 'Selected' option is greyed out and the complete document is printed.
Thanks in advance for your help,
Russell
Printing Selected Area
Re: Printing Selected Area
Hello,
You can try do do something like this:
Kind regards,
Loïc
You can try do do something like this:
Code: Select all
Dim l, t, w, h As Integer
GdViewer1.GetDisplayedArea(l, t, w, h)
GdViewer1.CopyRegionToClipboard(l, t, w, h)
Dim GdViewer2 As New GdViewer
GdViewer2.DisplayFromClipboard()
GdViewer2.PrintDialogFit()
Loïc
Re: Printing Selected Area
Only using the rectangular marquee tool is allowed to let me print selected area, I wish making a selection of a layer let me do that too.
Who is online
Users browsing this forum: No registered users and 1 guest