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. |
com.aspose.pdf.tagged.logicalstructure.elements |
The
<b>com.aspose.pdf.tagged.logicalstructure.elements </b> is a namespace for PDF Logical Structure classes. |
Modifier and Type | Method and Description |
---|---|
Rectangle |
Page.calculateContentBBox()
Calculates bbox value - rectangle containing contents without visible margins.
|
static Rectangle |
Rectangle.fromRect(Rectangle src)
Initializes new rectangle from given instance of System.Drawing.Rectangle.
|
Rectangle |
Page.getArtBox()
Gets art box of the page.
|
Rectangle |
XForm.getBBox()
Gets form bounding box.
|
static Rectangle |
InternalHelper.getBBox(Image image) |
Rectangle |
Page.getBleedBox()
Gets bleed box of the page.
|
Rectangle |
Page.getCropBox()
Gets crop box of the page.
|
static Rectangle |
Rectangle.getEmpty()
Gets empty rectangle
|
Rectangle |
CaretAnnotation.getFrame()
Gets caret rectangle.
|
Rectangle |
CommonFigureAnnotation.getFrame()
The rectangle describing the numerical differences between two rectangles: the Rect entry of
the annotation and the actual boundaries of the underlying square or circle.
|
Rectangle |
Page.getMediaBox()
Gets media box of the page.
|
Rectangle |
Page.getPageRect(boolean considerRotation)
Returns rectangle of the page.
|
Rectangle |
Watermark.getPosition()
Gets a position of the watermark's image on a page.
|
Rectangle |
Page.getRect_Rename_Namesake()
Gets rectangle of the page.
|
Rectangle |
Annotation.getRect()
Gets annotation rectangle.
|
Rectangle |
Field.getRect()
Gets the field rectangle.
|
Rectangle |
Page.getRect()
Gets rectangle of the page.
|
Rectangle |
AbsorbedCell.getRectangle()
Gets rectangle that describes position of the cell on page
|
Rectangle |
AbsorbedColumn.getRectangle()
Gets rectangle that describes position of the column on page
|
Rectangle |
AbsorbedRow.getRectangle()
Gets rectangle that describes position of the row on page
|
Rectangle |
AbsorbedTable.getRectangle()
Gets rectangle that describes position of the table on page
|
Rectangle |
Artifact.getRectangle()
Gets rectangle of the artifact.
|
Rectangle |
CharInfo.getRectangle()
Gets rectangle of the character.
|
Rectangle |
ImagePlacement.getRectangle()
Gets rectangle of the Image.
|
Rectangle |
ITableElement.getRectangle()
Gets rectangle that describes position of table element on the page
|
Rectangle |
MarkupSection.getRectangle()
Section rectangle
|
Rectangle |
PageMarkup.getRectangle()
Gets processed page rectangle.
|
Rectangle |
TextFragment.getRectangle()
Gets rectangle of the TextFragment
|
Rectangle |
TextParagraph.getRectangle()
Gets rectangle of the paragraph.
|
Rectangle |
TextSearchOptions.getRectangle()
Gets rectangle that bounds the searched text.
|
Rectangle |
TextSegment.getRectangle()
Gets rectangle of the TextSegment
|
Rectangle |
XForm.getRectangle()
Gets rectangel of the form.
|
Rectangle |
Annotation.getRectangle(boolean considerRotation)
Returns rectangle of annotation taking into consideration page rotation.
|
Rectangle[] |
TextParagraphAbsorber.getRectangles()
Gets ractangles that the
TextParagraphAbsorber used to searche for text paragraphs on
the PDF document or page. |
Rectangle |
FreeTextAnnotation.getTextRectangle()
Rectangle describing the numerical differences between two rectangles: the Rect entry of the annotation
and a rectangle contained within that rectangle.
|
Rectangle |
TextParagraph.getTextRectangle()
Gets rectangle of the text placed to the paragraph.
|
Rectangle |
Page.getTrimBox()
Gets trim box of the page.
|
static Rectangle |
Rectangle.getTrivial()
Initializes trivial rectangle i.e. rectangle with zero position and size.
|
Rectangle |
Rectangle.intersect(Rectangle otherRect)
Intersects to rectangles.
|
Rectangle |
Rectangle.join(Rectangle otherRect)
Joins rectangles.
|
static Rectangle |
Rectangle.parse(String value)
Try to parse string and extract from it rectangle components llx, lly, urx, ury.
|
Rectangle |
Matrix.transform(Rectangle rect)
Transformes rectangle.
|
Modifier and Type | Method and Description |
---|---|
void |
Rectangle._Intersect(Rectangle otherRect)
Deprecated.
|
static void |
Redaction._RedactText(Page page,
Rectangle rect) |
static void |
InternalHelper.addButton(Page _currentPage,
Rectangle convertRect,
boolean isShowFieldsBorders,
com.aspose.html.HTMLInputElement as,
IDocument _document) |
void |
Form.addFieldAppearance(Field field,
int pageNumber,
Rectangle rect)
Adds additional appearance of the field to specified page of the document in the specified
location.
|
void |
Page.addImage(InputStream imageStream,
Rectangle imageRect)
Adds image onto the page and locates it in the middle of specified rectangle saving image's
proportion.
|
void |
Page.addImage(InputStream stream,
Rectangle rectangle,
CompositingParameters compositingParameters)
Adds image onto the page and locates it in the middle of specified rectangle saving image's
proportion.
|
void |
Page.addImage(InputStream imageStream,
Rectangle imageRect,
int imageWidth,
int imageHeight,
boolean saveImageProportions)
Adds searchable image onto the page and locates it in the middle of specified rectangle
saving image's proportion.
|
void |
Page.addImage(String hocr,
InputStream imageStream,
Rectangle imageRect)
Adds searchable image onto the page and locates it in the middle of specified rectangle
saving image's proportion.
|
void |
Page.addImage(String imagePath,
Rectangle rectangle)
Adds image onto the page and locates it in the middle of specified rectangle saving image's
proportion.
|
static void |
InternalHelper.addImageInternal(Page p,
com.aspose.ms.System.IO.Stream imageStream,
Rectangle imageRect) |
static com.aspose.ms.System.Collections.Generic.List<Operator> |
InternalHelper.addImageInternal(Page page,
com.aspose.ms.System.IO.Stream stream,
Rectangle rectangle,
Matrix rotationMatrix,
CompositingParameters compositingParameters,
com.aspose.pdf.engine.data.IPdfObject[] pdfObject) |
void |
RadioButtonField.addOption(String optionName,
Rectangle rect)
Add to radio button option with specifed rectangle.
|
double |
TextState.calculateFontSize(String str,
Rectangle rect)
Calculates the font size for the rectangle.
|
Field[] |
Form.getFieldsInRect(Rectangle rect)
Returns fields inside of specified rectangle.
|
static void |
Redaction.getredactArea(Page page,
Rectangle rect,
Color color)
get redact Area
|
static List<Operator> |
Redaction.getRedactionAppearance(Rectangle rect,
Color color)
get Redaction Appearance
|
static com.aspose.ms.System.Collections.Generic.List<Operator> |
Redaction.getRedactionAppearanceInternal(Rectangle rect,
com.aspose.ms.System.Drawing.Color color)
For Internal Usage only get Redaction Appearance
|
Rectangle |
Rectangle.intersect(Rectangle otherRect)
Intersects to rectangles.
|
boolean |
Rectangle.isInclude(Rectangle otherRect,
double rotationAngle)
Checks that this rectangle includes whole another rectangle.
|
static boolean |
InternalHelper.isInclude(Rectangle cropBox,
Rectangle rect,
int i) |
boolean |
Rectangle.isIntersect(Rectangle otherRect)
Determines whether this rectangle intersects with other rectangle.
|
Rectangle |
Rectangle.join(Rectangle otherRect)
Joins rectangles.
|
boolean |
Rectangle.nearEquals(Rectangle other,
double delta)
Check if rectangles are near equal i.e. have near same (up to delta) position and sizes.
|
static TextParagraph |
InternalHelper.PageGenerator_getTextParagraph(TextFragment fragment,
Rectangle rect,
Page page,
boolean isHorizontalAlignmentSet,
int alignment,
int verticalAlignment,
boolean isWordWrapped) |
static void |
InternalHelper.processHyperlink(BaseParagraph bp,
Page page,
Rectangle rect) |
static void |
Redaction.redactAnnotations(Page page,
Rectangle rect)
Removes Annotation which is in required rectangle
|
static void |
Redaction.redactArea(Page page,
Rectangle rect,
Color color)
For Internal Usage only get redact Area
|
static void |
Redaction.redactAreaInternal(Page page,
Rectangle rect,
com.aspose.ms.System.Drawing.Color color,
boolean exactArea) |
static void |
Redaction.redactImages(Page page,
Rectangle rect,
Color color)
Removes images (or redacts contents of the image is image is partially covered by rectangle)
|
static void |
Redaction.redactText(Page page,
Rectangle rect)
Removes text which is in requried rectangle
|
static void |
Redaction.redactText(XForm form,
Rectangle rect)
Removes text which is in requried rectangle
|
void |
TextFragmentAbsorber.removeAllText(Page page,
Rectangle rect)
Removes text inside the specified rectangle from the specified page.
|
void |
Page.setArtBox(Rectangle value)
Sets art box of the page.
|
void |
XForm.setBBox(Rectangle value)
Sets form bounding box.
|
void |
Page.setBleedBox(Rectangle value)
Sets bleed box of the page.
|
void |
Page.setCropBox(Rectangle value)
Sets crop box of the page.
|
void |
CaretAnnotation.setFrame(Rectangle value)
Sets caret rectangle.
|
void |
CommonFigureAnnotation.setFrame(Rectangle value)
The rectangle describing the numerical differences between two rectangles: the Rect entry of
the annotation and the actual boundaries of the underlying square or circle.
|
void |
Page.setMediaBox(Rectangle value)
Sets media box of the page.
|
void |
Annotation.setRect(Rectangle value)
Sets annotation rectangle.
|
void |
Field.setRect(Rectangle value)
Sets the field rectangle.
|
void |
Page.setRect(Rectangle value)
Sets rectangle of the page.
|
void |
TextFragment.setRectangle(Rectangle value)
Gets rectangle of the TextFragment
|
void |
TextParagraph.setRectangle(Rectangle value)
Sets rectangle of the paragraph.
|
void |
TextSearchOptions.setRectangle(Rectangle value)
Sets rectangle that bounds the searched text.
|
void |
TextParagraphAbsorber.setRectangles(Rectangle[] value)
Sets rectangles that the
TextParagraphAbsorber used to search for text paragraphs on
the PDF document or page. |
void |
FreeTextAnnotation.setTextRectangle(Rectangle value)
Rectangle describing the numerical differences between two rectangles: the Rect entry of the annotation
and a rectangle contained within that rectangle.
|
void |
Page.setTrimBox(Rectangle value)
Sets trim box of the page.
|
static com.aspose.pdf.engine.data.PdfArray |
InternalHelper.toArray(Rectangle rec,
com.aspose.pdf.engine.data.ITrailerable trailerable) |
Rectangle |
Matrix.transform(Rectangle rect)
Transformes rectangle.
|
Constructor and Description |
---|
BarcodeField(IDocument doc,
Rectangle rect)
Initializes new instance of the
BarcodeField class. |
BarcodeField(Page page,
Rectangle rect)
Initializes new instance of the
BarcodeField class. |
ButtonField(IDocument doc,
Rectangle rect)
ButtonField constructore.
|
ButtonField(Page page,
Rectangle rect)
ButtonField constructor.
|
CaretAnnotation(Page page,
Rectangle rect)
Creates new Caret annotation on the specified page.
|
Cell(Rectangle rect)
Initializes a new instance of the Cell class.
|
CheckboxField(IDocument doc,
Rectangle rect)
Constructor for CheckboxField class.
|
CheckboxField(Page page,
Rectangle rect)
Constructor for CheckboxField class.
|
ChoiceField(IDocument doc,
Rectangle rect)
Constructor for ChoiceField.
|
ChoiceField(Page page,
Rectangle rect)
Constructor for ChoiceField.
|
CircleAnnotation(Page page,
Rectangle rect)
Creates new Circle annotation on the specified page.
|
ComboBoxField(IDocument doc,
Rectangle rect)
Constructor for Combobox field.
|
ComboBoxField(Page page,
Rectangle rect)
Constructor for ComboBox Field.
|
FileAttachmentAnnotation(Page page,
Rectangle rect,
FileSpecification fileSpec)
Creates new FileAttachment annotation on the specified page.
|
FreeTextAnnotation(Page page,
Rectangle rect,
DefaultAppearance appearance)
Creates new FreeText annotation on the specified page.
|
HighlightAnnotation(Page page,
Rectangle rect)
Creates new Highlight annotation on the specified page.
|
InkAnnotation(Page page,
Rectangle rect,
List<Point[]> inkList)
Creates new Ink annotation on the specified page.
|
LineAnnotation(Page page,
Rectangle rect,
Point start,
Point end)
Creates new Line annotation on the specified page.
|
LinkAnnotation(Page page,
Rectangle rect)
Creates new Link annotation on the specified page.
|
ListBoxField(IDocument doc,
Rectangle rect)
Constructor for ListBox field.
|
ListBoxField(Page page,
Rectangle rect)
Creates new ListBox field.
|
MovieAnnotation(Page page,
Rectangle rect,
String movieFile)
Creates new Sound annotation on the specified page.
|
PDF3DAnnotation(Page page,
Rectangle rect,
PDF3DArtwork pdf3DArtwork)
Initializes a new instance of the
PDF3DAnnotation class. |
PDF3DAnnotation(Page page,
Rectangle rect,
PDF3DArtwork pdf3DArtwork,
int activation)
Initializes a new instance of the
PDF3DAnnotation class. |
PolygonAnnotation(Page page,
Rectangle rect,
Point[] vertices)
Creates new Polygon annotation on the specified page.
|
PolylineAnnotation(Page page,
Rectangle rect,
Point[] vertices)
Creates new Polyline annotation on the specified page.
|
PopupAnnotation(Page page,
Rectangle rect)
Creates new Popup annotation on the specified page.
|
RadioButtonField(Page page,
Rectangle rect)
Sets radio button field
|
RadioButtonOptionField(Page page,
Rectangle rect)
Creates radiobutton in the specified rectangle on specified page.
|
RedactionAnnotation(Page page,
Rectangle rect)
Constructor for RedactAnnotation.
|
RichMediaAnnotation(Page page,
Rectangle rect) |
RichTextBoxField(Page page,
Rectangle rect)
Constructor for Rich Text Box field.
|
ScreenAnnotation(Page page,
Rectangle rect,
String mediaFile)
Creates new Screen annotation on the specified page.
|
SignatureField(IDocument doc,
Rectangle rect)
Initializes new instance of the
SignatureField class. |
SignatureField(Page page,
Rectangle rect)
Initializes new instance of the
SignatureField class. |
SoundAnnotation(Page page,
Rectangle rect,
String soundFile)
Creates new Sound annotation on the specified page.
|
SoundAnnotation(Page page,
Rectangle rect,
String soundFile,
SoundSampleData soundSampleData)
Creates new Sound annotation on the specified page.
|
SquareAnnotation(Page page,
Rectangle rect)
Creates new Square annotation on the specified page.
|
SquigglyAnnotation(Page page,
Rectangle rect)
Creates new Squiggly annotation on the specified page.
|
StampAnnotation(Page page,
Rectangle rect)
Creates new Stamp annotation on the specified page.
|
StrikeOutAnnotation(Page page,
Rectangle rect)
Creates new StrikeOut annotation on the specified page.
|
TextAnnotation(Page page,
Rectangle rect)
Creates new Text annotation on the specified page.
|
TextBoxField(IDocument doc,
Rectangle rect)
Constructor of TextBox field.
|
TextBoxField(Page page,
Rectangle rect)
Constructor of TextBox field.
|
TextParagraphAbsorber(Rectangle[] rectangles)
Initializes a new instance of the
TextParagraphAbsorber with rectangles collection. |
TextSearchOptions(Rectangle rectangle)
Initializes new instance of the TextSearchOptions object.
|
TextSearchOptions(Rectangle rectangle,
boolean isRegularExpressionUsed)
Initializes new instance of the TextSearchOptions object.
|
UnderlineAnnotation(Page page,
Rectangle rect)
Creates new Underline annotation on the specified page.
|
Watermark(BufferedImage nativeImage,
Rectangle rect)
Initializes a watermark object with an image and it's position on a page.
|
WatermarkAnnotation(Page page,
Rectangle rect)
Constuctore for Watermark annotation class.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
ImageDevice.getCropRectangle()
Get rectangle that defines the area that will be converted into a picture.
|
Rectangle |
TiffDevice.getCropRectangle()
Get rectangle that defines the area that will be converted into a picture.
|
Modifier and Type | Method and Description |
---|---|
void |
ImageDevice.setCropRectangle(Rectangle cropRectangle)
Set rectangle that defines the area that will be converted into a picture.
|
void |
TiffDevice.setCropRectangle(Rectangle cropRectangle)
Set rectangle that defines the area that will be converted into a picture.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
StampInfo.getRectangle()
Gets rectangle where stamp is placed.
|
Modifier and Type | Method and Description |
---|---|
void |
PdfAnnotationEditor.redactArea(int pageIndex,
Rectangle rect,
Color color)
Redacts area on the specified page.
|
void |
PdfAnnotationEditor.redactExactArea(int pageIndex,
Rectangle rect,
Color color)
Redacts area on the specified page.
|
Modifier and Type | Method and Description |
---|---|
void |
StructureAttribute.setRectangleValue(Rectangle rectangle)
Sets Value Rectangle.
|