mirror of
https://github.com/jsvine/pdfplumber.git
synced 2026-08-29 16:40:24 +08:00
Add Page.collate_chars
This commit is contained in:
@@ -168,6 +168,11 @@ class Page(Container):
|
||||
|
||||
return table
|
||||
|
||||
def collate_chars(self, x_tolerance=0, y_tolerance=0):
|
||||
return utils.collate_chars(self.chars,
|
||||
x_tolerance=x_tolerance,
|
||||
y_tolerance=y_tolerance)
|
||||
|
||||
def crop(self, bbox):
|
||||
return CroppedPage(self, bbox)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user