vb.net - How to print a scrollable winforms application which has scrollable textbox vb .net -


i using vb .net , print scrollable winform has scrollable textbox.

i have tried use following codes:

private sub btnprintform_click(byval sender object, byval e system.eventargs) handles btnprintform.click     me.printform1.printersettings.defaultpagesettings.landscape = true     printform1.print(me, powerpacks.printing.printform.printoption.scrollable) end sub 

and print preview shows half of winforms, not complete.

1) how can print winforms (full width , height) although of winforms areas hidden due scrollable feature? refer screenshot in following website: print error screenshot

2) recommended method prompt user change page orientation?

3) in winforms, there scrollable textbox. how affect print function , changes should include scrollable textbox , content in scrollable winforms?

maybe me, not print forms.. more... used in vb6 , quite upset when .net removed functionality. think re-learning printing .net intended way, physically drawing document... or using report writer of sort.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -