Skip to main content
Version: 4.3

PageBreaksProps

Props for the PageBreaks component.

Properties

height?

readonly optional height?: number;

Vertical spacing between horizontal break lines, in local (graph) coordinates. Defaults to A4 portrait height at 72 DPI, matching the default page height of <PaperScroller mode="sheets">.

Default

842

style?

readonly optional style?: CSSProperties;

Inline CSS applied to the underlying SVG <path> that draws the lines.

Default

{}

width?

readonly optional width?: number;

Horizontal spacing between vertical break lines, in local (graph) coordinates. Defaults to A4 portrait width at 72 DPI, matching the default page width of <PaperScroller mode="sheets">.

Default

595

x?

readonly optional x?: number;

X coordinate the line grid is anchored at, in local (graph) coordinates.

Default

0

y?

readonly optional y?: number;

Y coordinate the line grid is anchored at, in local (graph) coordinates.

Default

0

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub