Editing Text and Images in PDF Documents
(Available in the IceViewer PDF and IceViewer Pro)
IceViewer PDF and IceViewer Pro editions support text and image editing within editable/searchable PDF documents. The Edit feature allows users to modify existing text, add new text, adjust text formatting, insert and manipulate images, and modify document content as needed.
To start editing, navigate to the Edit tab. Clicking the Edit tab displays the editing ribbon, which provides tools for selecting and editing existing content, adding text, and inserting images.
The Edit ribbon contains three main editing tools:
- Select: Select and modify existing text and images in the PDF document.
- Add Text: Insert new text into the document.
- Add Image: Insert new images into the document.
Editing Text
When a text box is selected, its outline turns blue. A blue handle appears on each side of the box for resizing, and an additional rotation handle appears at the top of the text box. Dragging a side handle adjusts the width of the text box, while the height automatically adapts to the content. Dragging the rotation handle rotates the entire text box. The text reflows inside the box during resizing, and font properties remain unchanged.
Editing Existing Text
Text can be edited by clicking a text box, placing the cursor at the desired position, and modifying it, similar to any standard text editor. To replace text, select the portion to be changed and enter the new content. The selected text can be formatted using the options in the Edit ribbon.
Adding New Text
To add new text to a PDF document, select Add Text on the Edit ribbon, click anywhere on the page to place the cursor, and start typing. The text box automatically adjusts its size to fit the content. If the text box is set to a specific width, text that reaches the end of the box automatically continues on a new line. The newly added text can be formatted using the available options on the Edit ribbon.
Formatting Text
To apply formatting to existing text, select the desired characters and use the formatting controls on the Edit ribbon.
Users can apply the following formatting:
- Font family: Change the font used for the selected text.
- Font style: Apply bold or italic formatting.
- Font size: Increase or decrease the size of the selected text.
- Font color: Change the color of the selected text.
- Text alignment: Align text to the left, center, right, or justify it within the text box.
- Line spacing: Adjust the vertical spacing between lines of text.
- Character spacing: Increase or decrease the space between individual characters.
- Horizontal scaling: Adjust the horizontal width of characters without changing their font size.
- Superscript: Position selected characters above the normal text baseline.
- Subscript: Position selected characters below the normal text baseline.
Right-to-Left Text Editing
The text editor also supports right-to-left (RTL) writing, allowing users to enter and edit text in languages such as Hebrew and Arabic.
Users can type, select, delete, and modify right-to-left text using the appropriate keyboard input method. The editor also supports text containing a combination of right-to-left characters, numbers, punctuation, and other text.
Deleting Text
The image editing feature allows users to select, insert, move, resize, rotate, crop, replace, and delete images within PDF documents. Additional tools are available for flipping images, changing their stacking order, copying and pasting, exporting, and redacting images.
Selecting, Moving, Resizing, and Rotating Images
To edit an existing image, activate the Select tool on the Edit ribbon and click the desired image.
When an image is selected, a selection outline appears around it, displaying resizing handles and a rotation handle above the image.
To move an image, click and drag it to the desired location on the page.
To resize an image, drag one of the resizing handles. Corner handles allow users to adjust both dimensions, while side handles adjust the corresponding dimension.
To rotate an image freely, drag the rotation handle above the image.
Adding New Images
To insert a new image into a PDF document, select Add Image on the Edit ribbon.
Click Choose Image to browse for an image file. After selecting the desired image, place it at the desired location in the document.
Once inserted, the image can be moved, resized, rotated, and modified using the available image editing tools.
Modifying Images
When an image is selected, the Edit ribbon provides additional tools for modifying it.
The following operations are available:
- Replace: Replace the selected image with another image.
- Delete: Remove the selected image from the document.
- Crop: Crop the selected image to display only the desired portion.
- Rotate Left: Rotate the selected image 90 degrees counterclockwise.
- Rotate Right: Rotate the selected image 90 degrees clockwise.
- Flip Horizontal: Flip the selected image horizontally.
- Flip Vertical: Flip the selected image vertically.
When an image is selected, a floating toolbar also appears near the image, providing quick access to commonly used image editing commands. The toolbar includes Crop, Rotate Right, Delete, and Export Image, allowing users to perform these operations without navigating to the Edit ribbon or opening the context menu.
Cropping Images
To crop an image, select the desired image and click Crop on the Edit ribbon.
Adjust the cropping boundaries to keep the desired portion of the image. The area outside the cropping boundaries is hidden.
To remove an existing crop, right-click the image and select Remove crop from the context menu.
Arranging Images
The stacking order of images can be modified to control how overlapping content appears in the PDF document.
To change the stacking order, right-click the selected image and choose one of the following options:
- Bring to front: Move the selected image in front of other content.
- Send to back: Move the selected image behind other content.
- Bring forward: Move the selected image one position forward in the stacking order.
- Send backward: Move the selected image one position backward in the stacking order.
Copying and Pasting Images
Images can be copied and pasted within PDF documents using the available clipboard commands.
To copy an image, select it and use Copy. To insert an image from the clipboard, use Paste at the desired location.
Replacing and Exporting Images
To replace an existing image, select it and click Replace on the Edit ribbon, or right-click the image and select Replace Image....
Choose the replacement image file to replace the selected image.
To save an image separately from the PDF document, right-click the selected image and choose Export Image....
Images can be exported in PNG, JPEG, BMP, and TIFF formats.
Redacting Images
To redact an image, right-click the selected image and choose Redact image from the context menu.
Follow the document's redaction workflow to apply the redaction.
Deleting Images
To delete an image, select it using the Select tool and click Delete on the Edit ribbon, or press the Delete key on the keyboard.
The selected image is removed from the PDF document.
