|
-
March 29th, 1999, 08:48 PM
#1
getting page size information
I am trying to do what should be simple. I would like to get the page size from the printer information and use this for my view. When the user changes the page size, such as changing printers or changing from portrait to landscape, I would like to change the width of my view. When I used the wizard to add the OnFilePrintSetup, it gave me a blank function. I could get the dialog box to make changes, but these were not reflected when the framework did the print preview or print. There must be some simple way to tell the framework what the new print setup information is, but I can't find it.
-
April 2nd, 1999, 06:23 AM
#2
Re: getting page size information
What you are looking for is maybe "DeviceCapabilities()" function.
Good luck...
Walter I An
-
April 2nd, 1999, 03:53 PM
#3
Re: getting page size information
GetDeviceCaps will allow you to get the parameters that define the printable (or viewable) area.
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
|