pub fn detect_margins(
elements: &[ContentElement],
page_width: f64,
page_height: f64,
) -> PageMarginsExpand description
Detect page margins from content bounding boxes.
pub fn detect_margins(
elements: &[ContentElement],
page_width: f64,
page_height: f64,
) -> PageMarginsDetect page margins from content bounding boxes.