Function mupdf_sys::fz_new_stext_device [−][src]
pub unsafe extern "C" fn fz_new_stext_device(
ctx: *mut fz_context,
page: *mut fz_stext_page,
options: *const fz_stext_options
) -> *mut fz_device
Create a device to extract the text on a page.
Gather the text on a page into blocks and lines.
The reading order is taken from the order the text is drawn in the source file, so may not be accurate.
page: The text page to which content should be added. This will usually be a newly created (empty) text page, but it can be one containing data already (for example when merging multiple pages, or watermarking).
options: Options to configure the stext device.