Package | Description |
---|---|
com.aspose.pdf |
The
com.aspose.pdf is a root package for all classes of Aspose.PDF for Java library
which are either directly in it like Document or indirectly through several
subpackages. |
com.aspose.pdf.devices |
The com.aspose.pdf.devices package provides classes which are used for representing
document as image(s) or a plain text.
|
com.aspose.pdf.facades |
The
com.aspose.pdf.facades package provides classes originally came from
Aspose.Pdf.Kit. |
Modifier and Type | Method and Description |
---|---|
static PageSize |
PageSize.getA0()
A0 size (1189x840 mm).
|
static PageSize |
PageSize.getA1()
A1 size (840x594 mm).
|
static PageSize |
PageSize.getA2()
A2 size (594x420 mm).
|
static PageSize |
PageSize.getA3()
A3 size (420x297 mm).
|
static PageSize |
PageSize.getA4()
A4 size (297x210 mm).
|
static PageSize |
PageSize.getA5()
A5 size (210x148 mm).
|
static PageSize |
PageSize.getA6()
A6 size (148x105 mm).
|
static PageSize |
PageSize.getB5()
B5 size (250x176 mm).
|
static PageSize |
PageSize.getP11x17()
11x17 inches format.
|
static PageSize |
PageSize.getPageLedger()
Ledger size (432x279 mm).
|
static PageSize |
PageSize.getPageLegal()
Legal size (356x216 mm).
|
static PageSize |
PageSize.getPageLetter()
Letter size (279x216 mm).
|
Constructor and Description |
---|
BmpDevice(PageSize pageSize)
Initializes a new instance of the
BmpDevice class with provided page size, default
resolution (=150). |
BmpDevice(PageSize pageSize,
Resolution resolution)
Initializes a new instance of the
BmpDevice class with provided page size and
resolution. |
EmfDevice(PageSize pageSize)
Initializes a new instance of the
EmfDevice class with provided page size, and
default resolution for the raster image written to emf (=150)
|
EmfDevice(PageSize pageSize,
Resolution resolution)
Initializes a new instance of the
JpegDevice class with provided page size, and
resolution for the raster image written to emf. |
GifDevice(PageSize pageSize)
Initializes a new instance of the
GifDevice class with provided page size, default
resolution (=150). |
GifDevice(PageSize pageSize,
Resolution resolution)
Initializes a new instance of the
GifDevice class with provided page size and
resolution. |
ImageDevice(PageSize pageSize)
Initializes a new instance of the
JpegDevice class with provided image dimensions and
default resolution (=150). |
ImageDevice(PageSize pageSize,
Resolution resolution)
Initializes a new instance of the
JpegDevice class with provided image dimensions and
resolution. |
JpegDevice(PageSize pageSize)
Initializes a new instance of the
JpegDevice class with provided page size, default
resolution (=150) and maximum quality. |
JpegDevice(PageSize pageSize,
Resolution resolution)
Initializes a new instance of the
JpegDevice class with provided page size,
resolution and maximum quality. |
JpegDevice(PageSize pageSize,
Resolution resolution,
int quality)
Initializes a new instance of the
JpegDevice class with provided page size,
resolution and quality. |
PngDevice(PageSize pageSize)
Initializes a new instance of the
PngDevice class with provided page size, default
resolution (=150). |
PngDevice(PageSize pageSize,
Resolution resolution)
Initializes a new instance of the
PngDevice class with provided page size and
resolution. |
TiffDevice(PageSize pageSize)
Initializes a new instance of the
TiffDevice class. |
TiffDevice(PageSize pageSize,
Resolution resolution)
Initializes a new instance of the
TiffDevice class. |
TiffDevice(PageSize pageSize,
Resolution resolution,
TiffSettings settings)
Initializes a new instance of the
TiffDevice class. |
TiffDevice(PageSize pageSize,
Resolution resolution,
TiffSettings settings,
IIndexBitmapConverter converter)
Initializes a new instance of the
TiffDevice class. |
TiffDevice(PageSize pageSize,
TiffSettings settings)
Initializes a new instance of the
TiffDevice class. |
TiffDevice(PageSize pageSize,
TiffSettings settings,
IIndexBitmapConverter converter)
Initializes a new instance of the
TiffDevice class. |
Modifier and Type | Method and Description |
---|---|
PageSize |
PdfPageEditor.getPageSize()
Gets the output file's page size.
|
PageSize |
PdfPageEditor.getPageSize(int page)
Returns the page size of the specified page.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfConverter.getNextImage(OutputStream outputStream,
PageSize pageSize)
Saves image to stream with given page size.
|
void |
PdfConverter.getNextImage(OutputStream outputStream,
PageSize pageSize,
ImageType format)
Saves image to stream with given page size.
|
void |
PdfConverter.getNextImage(OutputStream outputStream,
PageSize pageSize,
ImageType format,
int quality)
Saves image to stream with given page size, image format and quality.
|
void |
PdfConverter.getNextImage(String outputFile,
PageSize pageSize)
Saves image to file with ith given page size and default image format - jpeg.
|
void |
PdfConverter.getNextImage(String outputFile,
PageSize pageSize,
ImageType format)
Saves image to file with given page size and image format.
|
void |
PdfConverter.getNextImage(String outputFile,
PageSize pageSize,
ImageType format,
int quality)
Saves image to file with given page size, image format and quality.
|
boolean |
IPdfFileEditor.makeBooklet(InputStream inputStream,
OutputStream outputStream,
PageSize pageSize)
Makes booklet from the input stream and save result into output stream.
|
boolean |
PdfFileEditor.makeBooklet(InputStream inputStream,
OutputStream outputStream,
PageSize pageSize)
Makes booklet from the input stream and save result into output stream.
|
boolean |
IPdfFileEditor.makeBooklet(InputStream inputStream,
OutputStream outputStream,
PageSize pageSize,
int[] leftPages,
int[] rightPages)
Makes booklet from the firstInputStream to outputStream.
|
boolean |
PdfFileEditor.makeBooklet(InputStream inputStream,
OutputStream outputStream,
PageSize pageSize,
int[] leftPages,
int[] rightPages)
Makes booklet from the firstInputStream to outputStream.
|
boolean |
PdfFileEditorWeb.makeBooklet(InputStream inputStream,
PageSize pageSize,
javax.servlet.http.HttpServletResponse response)
Makes booklet from source file and stores result into HttpServletResponse.
|
boolean |
PdfFileEditorWeb.makeBooklet(InputStream inputStream,
PageSize pageSize,
int[] leftPages,
int[] rightPages,
javax.servlet.http.HttpServletResponse response)
Make booklet from PDF file and stores it into HttpServletResponse.
|
boolean |
PdfFileEditorWeb.makeBooklet(String inputFile,
PageSize pageSize,
javax.servlet.http.HttpServletResponse response)
Makes booklet from source file and stores result into HttpServletResponse objects.
|
boolean |
PdfFileEditorWeb.makeBooklet(String inputFile,
PageSize pageSize,
int[] leftPages,
int[] rightPages,
javax.servlet.http.HttpServletResponse response)
Makes booklet from source file and stores result into HttpServletResponse objects.
|
boolean |
IPdfFileEditor.makeBooklet(String inputFile,
String outputFile,
PageSize pageSize)
Makes booklet from the inputFile to outputFile.
|
boolean |
PdfFileEditor.makeBooklet(String inputFile,
String outputFile,
PageSize pageSize)
Makes booklet from the inputFile to outputFile.
|
boolean |
IPdfFileEditor.makeBooklet(String inputFile,
String outputFile,
PageSize pageSize,
int[] leftPages,
int[] rightPages)
Makes customized booklet from the firstInputFile to outputFile.
|
boolean |
PdfFileEditor.makeBooklet(String inputFile,
String outputFile,
PageSize pageSize,
int[] leftPages,
int[] rightPages)
Makes customized booklet from the firstInputFile to outputFile.
|
boolean |
PdfFileEditorWeb.makeNUp(InputStream inputStream,
int x,
int y,
PageSize pageSize,
javax.servlet.http.HttpServletResponse response)
Makes N-up document and stores result into HttpServletResponse object.
|
boolean |
IPdfFileEditor.makeNUp(InputStream inputStream,
OutputStream outputStream,
int x,
int y,
PageSize pageSize)
Makes N-Up document from the first input stream to output stream.
|
boolean |
PdfFileEditor.makeNUp(InputStream inputStream,
OutputStream outputStream,
int x,
int y,
PageSize pageSize)
Makes N-Up document from the first input stream to output stream.
|
boolean |
PdfFileEditorWeb.makeNUp(String inputFile,
int x,
int y,
PageSize pageSize,
javax.servlet.http.HttpServletResponse response)
Makes N-up document and stores result into HttpServletResponse object.
|
boolean |
IPdfFileEditor.makeNUp(String inputFile,
String outputFile,
int x,
int y,
PageSize pageSize)
Makes N-Up document from the input file to outputFile.
|
boolean |
PdfFileEditor.makeNUp(String inputFile,
String outputFile,
int x,
int y,
PageSize pageSize)
Makes N-Up document from the input file to outputFile.
|
void |
PdfConverter.saveAsTIFF(OutputStream outputStream,
PageSize pageSize)
Converts each pages of a pdf document to images with page size and saves images to a single
TIFF stream.
|
void |
PdfConverter.saveAsTIFF(OutputStream outputStream,
PageSize pageSize,
TiffSettings settings)
Converts each pages of a pdf document to images with page size and saves images to a single
TIFF stream.
|
void |
PdfConverter.saveAsTIFF(String outputFile,
PageSize pageSize)
Converts each pages of a pdf document to images with page size and saves images to a single
TIFF file.
|
void |
PdfConverter.saveAsTIFF(String outputFile,
PageSize pageSize,
TiffSettings settings)
Converts each pages of a pdf document to images with page size and saves images to a single
TIFF file.
|
void |
PdfConverter.saveAsTIFFClassF(OutputStream outputStream,
PageSize pageSize)
Converts each pages of a pdf document to images and save images to a single TIFF ClassF
stream.
|
void |
PdfConverter.saveAsTIFFClassF(String outputFile,
PageSize pageSize)
Converts each pages of a pdf document to images and save images to a single TIFF ClassF file.
|
void |
PdfPageEditor.setPageSize(PageSize value)
Sets the output file's page size.
|
Copyright © 2021 Aspose. All Rights Reserved.