TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Modeste Mimodje
NA
61
4.5k
how to crete excel in landscape and convert it in pdf
Mar 26 2018 10:24 AM
please, I need help.
I was able to generate an excel file and convert it to PDF. But I print it in portrait gold I would like the printed landscape. here is the problem code. Microsoft.Office.Interop.Excel.Worksheet = XlPageOrientation.xlLandscape();
(Microsoft.Office.Interop.Excel._Worksheet)(ExceltoPdf(this.textBoxAccountNumber.Text, this.textBoxAccountNumber.Text).ActiveSheet).PageSetup.Orientation =Microsoft.Office.Interop.Excel.XlPageOrientation.xlLandscape;
Attachment:
code_to_convert_excel_landscape_in_c#.zip
Reply
Answers (
1
)
How to merge two XML in single one using c#.?
Close a window about other process opened