Welcome Guest Search | Active Topics | Sign In | Register

Injecting stylsheet into HTML to PDF Conversion Options
Chasbo
Posted: Sunday, February 24, 2013 3:42:32 PM
Rank: Newbie
Groups: Member

Joined: 2/24/2013
Posts: 2
I apologize if this has been asked already, but I couldn't find it in the forum or online documentation.

I am generating a PDF by passing HTML from a page back to the controller using jQuery AJAX. It works fine except that, because the styling comes from a stylesheet, it is un-styled.

Is there an example somewhere demonstrates the best way of dealing with this?

I am using dot.LESS so the style sheet has a .LESS extension, don't know it that matters.

Thanks!

>>>>>>

Whoops, I found it, sorry about that! HtmlToPdf.Options.BaseUr was what I was missing!
eo_support
Posted: Sunday, February 24, 2013 5:51:08 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Great. Glad that you found the answer!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.