Skip to main content

detect_margins

Function detect_margins 

Source
pub fn detect_margins(
    elements: &[ContentElement],
    page_width: f64,
    page_height: f64,
) -> PageMargins
Expand description

Detect page margins from content bounding boxes.