Skip to content

Commit

Permalink
docs/app1.rst: fixed pymupdf#1946.
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-smith-artifex-com committed Oct 24, 2022
1 parent 9159916 commit 2ec991f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/app1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ BLOCKS

Function :meth:`TextPage.extractBLOCKS` (or *Page.get_text("blocks")*) extracts a page's text blocks as a list of items like::

(x0, y0, x1, y1, "lines in block", block_type, block_no)
(x0, y0, x1, y1, "lines in block", block_no, block_type)

Where the first 4 items are the float coordinates of the block's bbox. The lines within each block are concatenated by a new-line character.

Expand Down

0 comments on commit 2ec991f

Please sign in to comment.