Word and Page Orientation > Landscape/Portrait

Received : 2007/12/05 09:06:41
Message : Hello,
We designed a report in Report Designer to print in landscape mode.
When we export to Word with Aspse.Words for Reporting Services, and open the resulting Word document, visually the document is in Landscape mode as expected (when viewed in Print Layout), but when you open the File > Page Setup dialog, the Orientation is set to Portrait. This causes weird behavior when printing the Word document, such as the first page printing Landscape and following pages printing Portrait; or the printer requiring sheet feeding by hand.
Are there issues related to Landscape report documents with Aspose.Words for Reporting Services?
Thank you for your help

This message was posted using Aspose.Live 2 Forum

Hi,
Thank you for your request.
We designed a report in Report Designer to print in landscape mode - does this mean you simply made the report’s page wider and shorter or used some special option? Can I take a look at your RDL report please? You can attach it to your post.

We set the page to 11x 8.5 (w x h) instead of 8.5x11 (w x h). Attached is the RDL. Thanks for your help.

Thank you for additional info. I have implemented automatic detection of the page layout based on the w x h proportion, unless it is not explicitly specified by the PageOrientation configuration option. I’m planning to release a hotfix in a week or so; if you need this functionality sooner, please provide your email address so that I could send you the current codebase.

That’s great news Dmitry. Thank you. Can you tell me… we also recently had a patch for this post: Thank you.

Sure, our hotfixes are cumulative and never lose the functionality that is already there :slight_smile: I’ll send you a hotfix shortly.

I have sent you an intermediate build of Aspose.Words for Reporting Services. Please let me know if you received it and if it suits your needs now.

Hi Dmitry
I’ve not received the intermediate build you mentioned. Should I expect an email or a link here?
Thank you

I’ll better attach it right to my post. Please find attached.

Hi,
I have a similar problem. When i set the page width to 11 and height to 8.5, it does not automatically set the word export to landscape mode by default.

The File > Page Setup dialog box shows that the orientation is set to portrait. How do i rectify this behavior? Please advise.

thanks,
Jaideep

p.s. I am using aspose words for .net 4.1.0.0

Hi

Thanks for your request. MS Word also does not switch page orientation when you specify width greater then height. If you need to use landscape orientation, you should explicitly specify that. Please see the following link for more information.
https://reference.aspose.com/words/net/aspose.words/pagesetup/orientation/
Also note, the original request in this thread is related to Aspose.Words for Reporting Service, not to Aspose.Words for .NET. These are different products.
Best regards.