Uses of Class
com.ironsoftware.ironpdf.edit.PageSelection
Package
Description
-
Uses of PageSelection in com.ironsoftware.ironpdf
Modifier and TypeMethodDescriptionfinal PdfDocument
PdfDocument.addBackgroundPdf
(PdfDocument backgroundPdf, int backgroundPdfPageIndex, PageSelection pageSelection) Adds a background to selected page(s) of this PDF.final PdfDocument
PdfDocument.addBackgroundPdf
(PdfDocument backgroundPdf, PageSelection pageSelection) Adds a background to selected page(s) of this PDF.final PdfDocument
PdfDocument.addForegroundPdf
(PdfDocument foregroundPdf, int foregroundPdfPageIndex, PageSelection pageSelection) Adds a foreground to selected page(s) of this PDF.final PdfDocument
PdfDocument.addForegroundPdf
(PdfDocument foregroundPdf, PageSelection pageSelection) Adds a foreground to selected page(s) of this PDF.PdfDocument.addHtmlFooter
(HtmlHeaderFooter footer, PageSelection pageSelection) Renders HTML page footers onto an existing PDF FilePdfDocument.addHtmlFooter
(HtmlHeaderFooter footer, HeaderFooterOptions headerFooterOptions, PageSelection pageSelection) Renders HTML page footer onto an existing PDF FilePdfDocument.addHtmlHeader
(HtmlHeaderFooter header, PageSelection pageSelection) Renders HTML page headers onto an existing PDF FilePdfDocument.addHtmlHeader
(HtmlHeaderFooter header, HeaderFooterOptions headerFooterOptions, PageSelection pageSelection) Renders HTML page headers onto an existing PDF FilePdfDocument.addTextFooter
(TextHeaderFooter footer, PageSelection pageSelection) Renders TEXT page footers onto an existing PDF FilePdfDocument.addTextFooter
(TextHeaderFooter footer, HeaderFooterOptions headerFooterOptions, PageSelection pageSelection) Renders TEXT page footer onto an existing PDF FilePdfDocument.addTextHeader
(TextHeaderFooter header, PageSelection pageSelection) Renders TEXT page headers onto an existing PDF FilePdfDocument.addTextHeader
(TextHeaderFooter header, HeaderFooterOptions headerFooterOptions, PageSelection pageSelection) Renders TEXT page headers onto an existing PDF Filefinal PdfDocument
PdfDocument.applyStamp
(Stamper stamper, PageSelection pageSelection) Edits the PDF by applying theStamper
's rendered to only selected page(s).final List<BufferedImage>
PdfDocument.extractAllImagesFromPages
(PageSelection pageSelection) Finds all embedded Images from within the PDF and returns as a list of image bytesfinal List<byte[]>
PdfDocument.extractAllRawImagesFromPages
(PageSelection pageSelection) Finds all embedded Images from within the PDF and returns them as raw bytes.final String
PdfDocument.extractTextFromPage
(PageSelection pageSelection) Extracts the text content from one page of the PDF and returns it as a string.PdfDocument.getPagesInfo
(PageSelection pageSelection) Gets a Map of information a selection of pages in this PDF as a List ofPageInfo
.final PdfDocument
PdfDocument.removePages
(PageSelection pageSelection) Removes a range of pages from the PDFfinal void
PdfDocument.replaceText
(PageSelection pageSelection, String oldText, String newText) Replace the specified old text with new text on a given page.final void
PdfDocument.rotatePage
(PageRotation pageRotation, PageSelection pageSelection) Rotates a selection page of the PdfDocument by a specified number of degrees.final List<BufferedImage>
PdfDocument.toBufferedImages
(PageSelection pageSelection) Rasterizes (renders) the PDF into BufferedImage objects.final List<BufferedImage>
PdfDocument.toBufferedImages
(ToImageOptions options, PageSelection pageSelection) Rasterizes (renders) the PDF into BufferedImage objects.PdfDocument.toImages
(String fileNamePattern, String imageFileType, PageSelection pageSelection) Renders the pages of the PDF as specific image files type and saves them to disk.PdfDocument.toImages
(String fileNamePattern, String imageFileType, ToImageOptions options, PageSelection pageSelection) Renders the pages of the PDF as specific image files type and saves them to disk.PdfDocument.toJpegImages
(String fileNamePattern, PageSelection pageSelection) Renders the pages of the PDF as JPEG image files and saves them to disk.PdfDocument.toJpegImages
(String fileNamePattern, ToImageOptions options, PageSelection pageSelection) Renders the pages of the PDF as JPEG image files and saves them to disk.PdfDocument.toMultiPageTiff
(Path filePath, PageSelection pageSelection) Renders the pages of the PDF as TIFF (Tagged Image File Format / Tif) file and saves it to disk.PdfDocument.toMultiPageTiff
(Path filePath, ToImageOptions options, PageSelection pageSelection) Renders the pages of the PDF as TIFF (Tagged Image File Format / Tif) file and saves it to disk.PdfDocument.toPngImages
(String fileNamePattern, PageSelection pageSelection) Renders the pages of the PDF as PNG (Portable Network Graphic) files and saves them to disk.PdfDocument.toPngImages
(String fileNamePattern, ToImageOptions options, PageSelection pageSelection) Renders the pages of the PDF as PNG (Portable Network Graphic) files and saves them to disk. -
Uses of PageSelection in com.ironsoftware.ironpdf.edit
Modifier and TypeMethodDescriptionstatic PageSelection
PageSelection.allPages()
Every page of the PDF.static PageSelection
PageSelection.firstPage()
First page (page index 0).static PageSelection
PageSelection.lastPage()
First page (page index 0).static PageSelection
PageSelection.pageRange
(int startIndex, int endIndex) The selection of pages to be used.static PageSelection
PageSelection factory.static PageSelection
PageSelection.singlePage
(int pageIndex) Specific page index. -
Uses of PageSelection in com.ironsoftware.ironpdf.form
Modifier and TypeMethodDescriptionfinal void
FormManager.flatten
(PageSelection pageSelection) Flattens a document (make all form fields non-editable). -
Uses of PageSelection in com.ironsoftware.ironpdf.image
Modifier and TypeMethodDescriptionvoid
DrawImageOptions.setPageSelection
(PageSelection pageIndexes) Sets page selection.ModifierConstructorDescriptionDrawImageOptions
(int x, int y, int desired_width, int desired_height, PageSelection pageSelection) Draw image options