Interface ExportFilePresenter.HasPrintRange

Enclosing class:
ExportFilePresenter

public static interface ExportFilePresenter.HasPrintRange
Interface for PrintToX which have a Print-Range property.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setPrintRange(int from, int to)
    Set the range of pages to render into the pdf.
    If both parameters are -1, all pages will be printed.
  • Method Details

    • setPrintRange

      void setPrintRange(int from, int to)
      Set the range of pages to render into the pdf.
      If both parameters are -1, all pages will be printed. This is the default setting.
      Parameters:
      from - the first page to include, 0-based.
      to - the last page to include, must be greater or equal to from and smaller than PrintPainter.calculatePages(int, int).