Welcome Guest Search | Active Topics | Sign In | Register

Border-radius with PDF Creator Options
Cognisess
Posted: Sunday, August 3, 2014 11:13:28 AM
Rank: Newbie
Groups: Member

Joined: 7/22/2014
Posts: 1
I'm attempting to convert my HTML headers and footers into ACMContent derived objects in an effort to optimise the generation of my documents (it takes at least 5 times longer to generate my documents when I use pretty much any simple headers or footers). While most styles I'm using are supported I can't find anywhere to set something equivalent to the CSS border-radius property. Is this available? I had kind of assumed the HTML to PDF engine used the ACMContent objects after parsing the input, but this makes me think it may not be the case.

If that is the case is there a way to cache a bit of HTML as an ACMContent tree, so I can keep my original HTML header/footers? I guess not :(
eo_support
Posted: Sunday, August 3, 2014 11:25:58 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

No. ACM does not directly support sophisticated CSS styles such as border radius. However it is possible for you to use PdfPathContent (one level below ACM) to render any kind of curve directly:

http://www.essentialobjects.com/doc/4/acm/pdf%20content%20api/path.aspx

You can not cache the "ACM result" for HTML to PDF because such result does not exist. You can think that internally our product has three components: A: HTML to PDF, B: ACM, and C: PDF Contents API. Both A and B generates result directly to C. Part of the C are exposed to you (such as PdfPathContent) and you can use them directly.

Thanks!


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.