Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is vbPRPSLegal(VB6) in VB .Net???

Status
Not open for further replies.

stefnany

Programmer
Mar 1, 2004
20
CA
Hello!

I want know what replace vbPRPSLegal(VB6) in VB.Net.


Thanks!!!

Stefnany
 
Is that a paper size when printing?

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
In VB6 is a Printer Object Constants.
A PaperSize Property.

Constant Value Description
vbPRPSLegal 5 Legal, 8 1/2 x 14 in
 
In that case can't you just set the property that sets the paper size to 5 rather than use the constant?

It may help if you post the code you have written so far and which section you are having trouble with.

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Yopu can also use the PaperKind enumeration
Code:
Dim pk As System.Drawing.Printing.PaperKind = Printing.PaperKind.Legal

Sweep
...if it works dont mess with it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top