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
Nageshwar Rao
NA
74
37.6k
How to convert html string to Pdf
Sep 8 2016 8:50 AM
Hi,
I need some sample examples regarding convertions of html to pdf,i tried with many examples that one one is working for form type and another one is working with file type.Essential objects is working for both but while converting to pdf some contents in the html are missings can i know the reason. this is my code
//string Url = "https://v16smoke.smartappbeta.com/enterprisedesktop/DocumentItemDetails.aspx?smartItemId=530085&sessionid=b4ff4d2474b74e23b946cba377c4e6db&pageMode=view";
//HtmlToPdfOptions pdfOptions = new HtmlToPdfOptions();
//pdfOptions.AutoFitX = HtmlToPdfAutoFitMode.ScaleToFit;
//pdfOptions.TriggerMode = HtmlToPdfTriggerMode.Auto;
//HtmlToPdf.Options.StartPageIndex = 1;
//HtmlToPdf.Options.StartPosition = 0;
//pdfOptions.AutoAdjustForDPI = false;
//pdfOptions.PageSize = PdfPageSizes.A4;
//EO.Pdf.HtmlToPdf.Options.OutputArea = new System.Drawing.RectangleF(0.5f, 0.5f, 10f, 10f);
//HtmlToPdf.Options.ZoomLevel = 1;
//HtmlToPdfResult pdf = EO.Pdf.HtmlToPdf.ConvertUrl(Url, @"C:\Pictures\Documenttype.pdf", pdfOptions);
can any solve my prblm,
Thanks
Reply
Answers (
4
)
how to select current date automatically in mvc using angula
I want to insert the details into Dataset