Interface PrintOptions

Options that control document printing. If a margin is set, it will apply in addition to any margin enforced by the browser. In order to get the specified margin, users may need to set an option in the browser. For example, in Chrome users would need to change the print dialog's Margins option (found under More settings) from Default to None.

Hierarchy

  • PrintOptions

Index

Properties

lineWidthMm

lineWidthMm: number

Ideal line-breaking width for content, measured in millimetres.

marginBottomMm

marginBottomMm: number

Margin added to the bottom edge of pages, measured in millimetres. This is in addition to any margin enforced by the browser. The default is 0 mm.

marginLeftMm

marginLeftMm: number

Margin added to the left edge of pages, measured in millimetres. This is in addition to any margin enforced by the browser. The default is 0 mm.

marginRightMm

marginRightMm: number

Margin added to the right edge of pages, measured in millimetres. This is in addition to any margin enforced by the browser. The default is 0 mm.

marginTopMm

marginTopMm: number

Margin added to the top of pages, measured in millimetres. This is in addition to any margin enforced by the browser. The default is 0 mm.

This API is still under development and is subject to change. Copyright © Math I Can Do Solutions Incorporated and/or its licensors.