PDF Editing Issues

How to Delete One Line from a PDF Shape or Drawing

Huda QurayshiHuda Qurayshi Nov 5, 2026 870 views

Question details

The user wants to remove a specific line or portion of a shape/drawing in a PDF without deleting the entire object.

How to Delete One Line from a PDF Shape or Drawing
Product
PDF Editor
Device & OS
not provided
Scenario
Editing existing shapes, annotations, or freehand drawings inside a PDF document.
Observed behavior
Selecting the shape highlights the entire object, making it difficult to isolate and delete just a single line or segment.
Before you start

Before editing, check whether the drawing or shape was created using a freehand pencil tool or inserted as a standard vector shape, as the deletion method depends on the object type.

Solution 1Recommended

Use the Eraser Tool for Freehand Drawings

If the shape was drawn using a Pencil or Freehand tool, you can use the Eraser to selectively remove parts of the stroke without affecting the rest of the drawing.

Freehand drawings in a PDF are typically treated as continuous ink paths. Because they aren't rigid vector shapes, a dedicated eraser tool can wipe away portions of the stroke.

1
Open Commenting Tools

Navigate to the Tools or Comment section in your PDF editor's top menu bar.

2
Select the Pencil Eraser

Look for the Pencil Eraser tool among the drawing and annotation options and click to select it.

3
Erase the Unwanted Line

Click and drag your cursor over the specific line or section of the drawing you want to remove. The highlighted portion will be deleted.

Use the Eraser Tool for Freehand Drawings
Tool Limitation: The Pencil Eraser tool only works on ink marks and lines drawn with the freehand pencil tool. It cannot erase text or standard inserted shapes.

Easily Edit and Annotate PDFs with WPS Office

WPS PDF provides intuitive commenting, freehand drawing, and erasing tools, making it simple to modify specific lines and shapes in your documents. Edit text, images, and graphical elements smoothly within an easy-to-use interface.

  1. 1. Open your PDF: Launch WPS Office and open the PDF file containing the shape or drawing.
  2. 2. Access Drawing Tools: Click on the Comment tab on the top ribbon, then select the Draw drop-down.
  3. 3. Use the Eraser: Click the Eraser tool and drag it over any freehand line or annotation to instantly remove it.
Easily draw, highlight, and erase freehand PDF annotationsSeamlessly add, modify, or delete standard shapesFully compatible with standard PDF documents and Adobe Acrobat filesLightweight, feature-rich, and user-friendly design
microsoft office alternative - wps office

Frequently Asked Questions

Why does clicking a line select the entire shape in my PDF?

In PDF formatting, standard shapes like squares, circles, or polygons are coded as a single, unified vector object rather than a collection of distinct lines. Clicking any part of the shape highlights the entire element.

Can I ungroup a shape in a PDF to delete just one side?

Standard PDF editors typically do not support ungrouping basic vector shapes into individual lines. To achieve this, you must delete the shape and draw the remaining borders manually using a Line tool.

Does the Pencil Eraser tool work on document text or images?

No, the Pencil Eraser tool is specifically designed to remove ink from freehand annotations drawn with the Pencil tool. To remove text or images, you need to use the Edit Text or Edit Image functions under the main Edit tab.

How do I edit shapes that were originally part of the source document?

To edit embedded graphics or shapes generated by the original software (like Word or Illustrator), switch your PDF software to a dedicated 'Edit PDF' mode. Select the object with the cursor to resize, move, or delete it entirely.