|
-
Aug 6th, 2001, 05:40 PM
#1
Thread Starter
New Member
Common Print Dialog Box Properties
I am using VB6 and Crystal Reports 8.5 with Windows 2000 operating system and decided to use the VB print dialog box.
When called, using “CommonDialog1.ShowPrinter”, the VB print box displays a three tabbed section print common dialog box: General, Layout, and Paper/Quality. Using the code between the “With CommonDialog1” and “end with” below, the following code enables the features that I want on the general section tab of the VB print dialog box:
With CommonDialog1
.Flags = cdlPDPageNums
.Min = 1
.Max = 999
.FromPage = 1
.ToPage = 999
End With
Question: What are the property variables for the other two tabbed sections of the print common dialog box and what system variables has to be updated (with the user settings) from the common dialog box?
For example, this statement gets a value from the common dialog print box:
orientation = commondialog.orientation
What does orientation (1 for portrait, 2 for landscape) update in VB6?
I appreciate anyone's help. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|