com.aspose.page

Interface IMultiPageDevice

    • Method Detail

      • initPageNumbers

        void initPageNumbers()

        Initializes numbers of pages to render.

      • openPage

        boolean openPage(String title)

        Makes necessary preparation of the device before page rendering.

        Parameters:
        title - The page title.
        Returns:
        True if page is from requested range, otherwise false. Used in devices that can render specified array of page numbers.
      • openPage

        boolean openPage(float width,
                         float height)

        Makes necessary preparation of the device before page rendering.

        Parameters:
        width - A width of the page.
        height - A height of the page.
        Returns:
        Returns true if opened page has a number that falls in a range of selected page numbers and false otherwise.
      • closePage

        void closePage()

        Makes necessary preparation of the device after page has been rendered.

      • updatePageParameters

        void updatePageParameters(IMultiPageDevice device)

        Updates page parameters from other multi-paged device.

        Parameters:
        device - Another instance of the same device.
      • getCurrentPageNumber

        int getCurrentPageNumber()

        Gets current page number.

        Returns:
        Current page number.