Vue Diagram - pageSize
Specifies a size of pages.
Type:
The units property specifies the page's measurement units.
App.vue
- <template>
- <DxDiagram
- id="diagram"
- ref="diagram"
- units="cm"
- >
- <DxPageSize
- :width="10"
- :height="10"
- />
- </DxDiagram>
- </template>
items[]
An array that specifies the page size items in the Page Size combobox on Properties Panel.
App.vue
- <template>
- <DxDiagram
- id="diagram"
- ref="diagram"
- units="cm"
- viewUnits="cm"
- >
- <DxPageSize
- :width="10"
- :height="10"
- :items="[{ text: 'A4 (21cm x 29.7cm)', width: 21, height: 29.7 },
- { text: 'A3 (29.7cm x 42cm)', width: 29.7, height: 42 }]"
- />
- </DxDiagram>
- </template>
