auto page for long drawing

15 views
Skip to first unread message

Realtime

unread,
Sep 11, 2014, 5:53:47 PM9/11/14
to dot-net-...@googlegroups.com
we have a drawing of 300 pt width x 10,000 pt height, composed of lines, points, shapes with relative coordinates referenced by the top left corner, is it possible to do that cross letter page size, without having to divide the drawing by pages in the code?

siberix

unread,
Sep 11, 2014, 6:00:49 PM9/11/14
to dot-net-...@googlegroups.com
Hi,

The general answer to this question would be - No. You may set the custom page sizes (new Siberix.Report.PageSize(width, height)), but there are also limitations for the page size enforced by PDF format itself.

Thank You,
Victor

Realtime

unread,
Sep 11, 2014, 8:15:37 PM9/11/14
to dot-net-...@googlegroups.com
Victor, this is not about the page size limitation. How about I change the question, is there a way to display ONE canvas of size 300 x 1000 over 2 pages of page size 300 x 500?

<section width=300 height=500>
<grid>
<cell>
<canvas width=300 height=1000 />
</cell>
</grid>
</Section>

is there a way to let siberix to split the canvas cross 2 pages automatically?

The reason I am asking is that it's very difficult to split the canvas by pages myself.

siberix

unread,
Sep 11, 2014, 9:10:10 PM9/11/14
to dot-net-...@googlegroups.com
Hi,

Unfortunately, not. Canvas is a mono-block element as well as Image, Site and some other elements. Its content could only be placed on the page entirely.

Thank You,
Victor
Reply all
Reply to author
Forward
0 new messages