Package | Description |
---|---|
com.aspose.pdf |
The
com.aspose.pdf is a root package for all classes of Aspose.Pdf.New library which are either directly in it like Document or indirectly through several subpackages. |
com.aspose.pdf.facades |
The
com.aspose.pdf.facades package provides classes originaly came from Aspose.Pdf.Kit. |
com.aspose.pdf.java.awt |
Modifier and Type | Method and Description |
---|---|
static Rectangle |
Rectangle.fromRect(Rectangle src) |
Modifier and Type | Method and Description |
---|---|
void |
PdfContentEditor.createApplicationLink(Rectangle rect,
String application,
int page)
Creates a link to launch an application in PDF document.
|
void |
PdfContentEditor.createApplicationLink(Rectangle rect,
String application,
int page,
Color clr)
Creates a link to launch an application in PDF document.
|
void |
PdfContentEditor.createApplicationLink(Rectangle rect,
String application,
int page,
Color clr,
int[] actionName)
Creates a link to launch an application in PDF document.
|
void |
PdfContentEditor.createCaret(int page,
Rectangle annotRect,
Rectangle caretRect,
String symbol,
String annotContents,
Color color)
Creates caret annotation.
|
void |
PdfContentEditor.createCustomActionLink(Rectangle rect,
int originalPage,
Color color,
int[] actionName)
Creates a link to custom actions in PDF document.
|
void |
PdfContentEditor.createFileAttachment(Rectangle rect,
String contents,
com.aspose.ms.System.IO.Stream attachmentStream,
String attachmentName,
int page,
String name)
Creates file attachment annotation.
|
void |
PdfContentEditor.createFileAttachment(Rectangle rect,
String contents,
String filePath,
int page,
String name)
Creates file attachment annotation.
|
void |
PdfContentEditor.createFreeText(Rectangle rect,
String contents,
int page)
Creates free text annotation in PDF document
PdfContentEditor editor = new PdfContentEditor();
editor.bindPdf("example.pdf");
editor.createFreeText(new Rectangle(0, 0, 100, 100), "Welcome to Aspose", 1);
editor.save("example_out.pdf");
|
void |
PdfContentEditor.createJavaScriptLink(String code,
Rectangle rect,
int originalPage,
Color color)
Creates a link to JavaScript in PDF document.
|
void |
PdfContentEditor.createLine(Rectangle rect,
String contents,
float x1,
float y1,
float x2,
float y2,
int page,
int border,
Color clr,
String borderStyle,
int[] dashArray,
String[] LEArray)
Creates line annotation.
|
void |
PdfContentEditor.createLocalLink(Rectangle rect,
int desPage,
int originalPage) |
void |
PdfContentEditor.createLocalLink(Rectangle rect,
int desPage,
int originalPage,
Color clr)
Creates a local link in PDF document.
|
void |
PdfContentEditor.createLocalLink(Rectangle rect,
int desPage,
int originalPage,
Color clr,
int[] actionName)
Creates a local link in PDF document.
|
void |
PdfContentEditor.createMarkup(Rectangle rect,
String contents,
int type,
int page,
Color clr)
Creates markup annotation it PDF document.
|
void |
PdfContentEditor.createMovie(Rectangle rect,
String filePath,
int page) |
void |
PdfContentEditor.createPdfDocumentLink(Rectangle rect,
String remotePdf,
int originalPage,
int destinationPage)
Creates a link to another PDF document page.
|
void |
PdfContentEditor.createPdfDocumentLink(Rectangle rect,
String remotePdf,
int originalPage,
int destinationPage,
Color clr)
Creates a link to another PDF document page.
|
void |
PdfContentEditor.createPdfDocumentLink(Rectangle rect,
String remotePdf,
int originalPage,
int destinationPage,
Color clr,
int[] actionName)
Creates a link to another PDF document page.
|
void |
PdfContentEditor.createPolygon(LineInfo lineInfo,
int page,
Rectangle annotRect,
String annotContents)
Creates polygon annotation.
|
void |
PdfContentEditor.createPolyLine(LineInfo lineInfo,
int page,
Rectangle annotRect,
String annotContents)
Creates polyline annotation.
|
void |
PdfContentEditor.createPopup(Rectangle rect,
String contents,
boolean open,
int page)
Creates popup annotation in PDF document.
|
void |
PdfContentEditor.createRubberStamp(int page,
Rectangle annotRect,
String annotContents,
Color color,
InputStream appearanceStream)
Creates a rubber stamp annotation.
|
void |
PdfContentEditor.createRubberStamp(int page,
Rectangle annotRect,
String annotContents,
Color color,
String appearanceFile)
Creates a rubber stamp annotation.
|
void |
PdfContentEditor.createRubberStamp(int page,
Rectangle annotRect,
String icon,
String annotContents,
Color color)
Creates a rubber stamp annotation.
|
void |
PdfContentEditor.createSound(Rectangle rect,
String filePath,
String name,
int page,
String rate) |
void |
PdfContentEditor.createSquareCircle(Rectangle rect,
String contents,
Color clr,
boolean square,
int page,
int borderWidth)
Creates square-circle annotation.
|
void |
PdfContentEditor.createText(Rectangle rect,
String title,
String contents,
boolean open,
String icon,
int page)
Creates text annotation in PDF document
PdfContentEditor editor = new PdfContentEditor();
editor.bindPdf("example.pdf");
editor.createText(new Rectangle(0, 0, 100, 100),
"Welcome to Aspose", "You are welcome to Aspose!" |
void |
PdfContentEditor.createWebLink(Rectangle rect,
String url,
int originalPage)
Creates a web link in PDF document.
|
void |
PdfContentEditor.createWebLink(Rectangle rect,
String url,
int originalPage,
Color clr)
Creates a web link in PDF document.
|
void |
PdfContentEditor.createWebLink(Rectangle rect,
String url,
int originalPage,
Color clr,
int[] actionName)
Creates a web link in PDF document.
|
void |
PdfContentEditor.drawCurve(LineInfo lineInfo,
int page,
Rectangle annotRect,
String annotContents)
Creates curve annotation.
|
void |
FormFieldFacade.setBox(Rectangle value)
Set a rectangle object holding field's location.
|
void |
PdfFileSignature.sign(int page,
boolean visible,
Rectangle annotRect,
Signature sig)
Sign the document with the given type signature.
|
void |
PdfFileSignature.sign(int page,
String SigReason,
String SigContact,
String SigLocation,
boolean visible,
Rectangle annotRect)
Make a signature on the pdf document.
|
void |
PdfFileSignature.sign(int page,
String SigReason,
String SigContact,
String SigLocation,
boolean visible,
Rectangle annotRect,
Signature sig)
Sign the document with the given type signature.
|
void |
PdfFileSignature.sign(int page,
String SigName,
String SigReason,
String SigContact,
String SigLocation,
boolean visible,
Rectangle annotRect,
Signature sig)
Sign the document with the given type signature which is placed in already presented signature field.
|
Constructor and Description |
---|
Rectangle(Rectangle rect) |
Copyright © 2018 Aspose. All Rights Reserved.