PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: How auto splite image inpd4ml
   PostPosted: 04 Jul 2009, 14:11 
when i add a large image with content then my image is splite in between two pages so give me solution of image splite


  Subject: Re: How auto splite image inpd4ml
   PostPosted: 26 May 2010, 22:50 
If the image dimensions fit a single page, there is a couple of methods should help:

  • PD4ML API call pd4ml.enableImgSplit(false)
  • CSS style IMG { page-break-inside: avoid }. In most of situations it is better to apply style page-break-inside: avoid not to an image directly, but to its hosting container (div, table row, etc).

Of course, if a particular image does not fit a single page, both methods take no effect for it.

From the two alternatives we would recommend to use the CSS approach. If your HTML documents are read-only, you may define the extra styles with addStyle() PD4ML API call.


Last bumped by Anonymous on 26 May 2010, 22:50.



[Reply]     [ 2 posts ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share