LocalReport.GetDefaultPageSettings Not return correct report.rdlc properties

R

Rob Dob

I don't see a way to use the page settings from the RDLC Report,
specifically to get it to print in Landscape. The PageHeight is set to
8.5in and the Width is set to 10in (for .5 in margins). I tried using the
LocalReport.GetDefaultPageSettings, but this returns 8.5in X 11in, or
Portrait mode. How do I obtain the proper, current settings that I have set
within the report.RDLC file. I need to be able to obtain these at runtime
so that I will be able to figure out wheter the report is in portrait or
landscape mode.



thanks
 
C

CMoss

I'm trying to determine if a report is landscape before I print it and
I'm running into the same problem. The values are always portrait. Have
you found a way around this yet?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,075
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top