items[]

An array that specifies the page size items in the Paze Size combobox on Properties panel.

Type:

Array<Object>

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 }
            ]
        },
    });
});

Diagram control data toolbox

height

Specifies the page height.

Type:

Number

text

Specifies the display text.

Type:

String

width

Specifies the page width.

Type:

Number