Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26219

    when i add a large image with content then my image is splite in between two pages so give me solution of image splite


    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.

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘PD4ML Tips & Tricks’ is closed to new topics and replies.