Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26849

    How can I define custom page-sze for my report. (15″ x 11″ Paper size) ?
    I develop using rollbase HTML-to-PDF feature.

    #29349

    pd4ml.setPageSize() API call takes page dimensions in typographic points as a parameter.

    [language=java:1cucxovh]public static final int POINTS_PER_INCH = 72;

    pd4ml.setPageSize( new java.awt.Dimension(15 * POINTS_PER_INCH, 11 * POINTS_PER_INCH) );[/language:1cucxovh]

    #29350

    @PD4ML wrote:

    pd4ml.setPageSize() API call takes page dimensions in typographic points as a parameter.

    [language=java:eh95muk4]public static final int POINTS_PER_INCH = 72;

    pd4ml.setPageSize( new java.awt.Dimension(15 * POINTS_PER_INCH, 11 * POINTS_PER_INCH) );[/language:eh95muk4]

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

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