Create, Move, or Delete Text and Images
ComPDFKit provides methods to create and delete text and images. You can move text and images inside the page.
- CPDFPageView.addEditTextArea(final PointF point)
Add a text block at the point position. Enter the EditTextArea
status after using this method.
- CPDFPageView.addEditImageArea(final PointF point, String path)
Add an image at the point position.
- CPDFPageView.operateEditTextArea(CPDFPageView.EditTextAreaFuncType.DELETE)
Delete the selected text block.
- CPDFPageView.operateEditTextArea(CPDFPageView.EditImageFuncType.DELETE)
Delete the selected image.