JavaScript/jQuery Diagram - pageSize
Specifies a size of pages.
Type:
The units option specifies the page's measurement units.
jQuery
JavaScript
$(function() { $("#diagram").dxDiagram({ units: "cm", pageSize: { width: 10, height: 10, }, }); });
NOTE
If you call the import method, the import method applies the imported page settings and the pageColor option is ignored.
items[]
An array that specifies the page size items in the Paze Size combobox on Properties panel.
jQuery
JavaScript
$(function() { $("#diagram").dxDiagram({ viewUnits: "cm", units: "cm", pageSize: { width: 21, height: 29.7, items: [ { text: "A4", width: 21, height: 29.7 },{ text: "A3", width: 29.7, height: 42 } ] }, }); });
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.