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
shiju kv
NA
91
16.4k
generate pdf from rdlc report
Mar 4 2015 1:19 AM
i have generated pdf from a rdlc report by the following code
Warning[] warnings;
string[] streamids;
string mimeType;
string encoding;
string filenameExtension;
byte[] bytes = reportViewer1.LocalReport.Render(
"PDF", null, out mimeType, out encoding, out filenameExtension,
out streamids, out warnings);
using (FileStream fs = new FileStream(@"D:\PrintPage.pdf", FileMode.Create))
{
fs.Write(bytes, 0, bytes.Length);
}
but the pdf is in a full A4 size. i want to generate only in the actual size of rdlc report . what to make for this . how to make page settings for this
Reply
Answers (
1
)
How to close the main form without letting the application c
How to call control inside GridView