pub fn render_with_layout(
document: &Document,
) -> Result<(Vec<u8>, LayoutInfo), FormeError>Expand description
Render a document to PDF bytes along with layout metadata.
Same as render() but also returns LayoutInfo describing the
position and dimensions of every element on every page.