Search results
Suggest a FeaturePDF

pageSettings

Properties

orientation

enum

Specifies the print layout orientation.

Name Description
Landscape Specifies the Landscape property in pageSettings.orientation to get specified layout.
portrait Specifies the portrait property in pageSettings.orientation to get specified layout.

Defaults to null

Example

<div id="container"></div>
<script>
    $("#container").boldReportDesigner({
        previewOptions: {
            pageSettings:{ orientation: ej.ReportViewer.Orientation.Landscape }
        }
    });
</script>

paperSize

enum

Specifies the paper size of print layout.

Name Description
A3 Specifies the A3 as value in pageSettings.paperSize to get specified size.
A4 Specifies the A4 as value in pageSettings.paperSize to get specified size.
B4_JIS Specifies the B4(JIS) as value in pageSettings.paperSize to get specified size.
B5_JIS Specifies the B5(JIS) as value in pageSettings.paperSize to get specified size.
Envelope_10 Specifies the Envelope #10 as value in pageSettings.paperSize to get specified size.
Envelope_Monarch Specifies the Envelope as value in pageSettings.paperSize to get specified size.
Executive Specifies the Executive as value in pageSettings.paperSize to get specified size.
Legal Specifies the Legal as value in pageSettings.paperSize to get specified size.
Letter Specifies the Letter as value in pageSettings.paperSize to get specified size.
Tabloid Specifies the Tabloid as value in pageSettings.paperSize to get specified size.
Custom Specifies the Custom as value in pageSettings.paperSize to get specified size.

Defaults to null

Example

<div id="container"></div>
<script>
    $("#container").boldReportDesigner({
        previewOptions: {
            pageSettings:{ paperSize: ej.ReportViewer.PaperSize.A4 }
        }
    });
</script>

height

number

Specifies the height of print layout.

Defaults to 0

Example

<div id="container"></div>
<script>
    $("#container").boldReportDesigner({
        previewOptions: {
            pageSettings: { height: 11.69 }
        }
    });
</script>

width

number

Specifies the width of print layout.

Defaults to 0

Example

<div id="container"></div>
<script>
    $("#container").boldReportDesigner({
        previewOptions: {
            pageSettings: { width: 8.27 }
        }
    });
</script>

margins

object

Specifies the margins of print layout.

Name Description
top Specifies the top margins of print layout.
right Specifies the right margins of print layout.
bottom Specifies the bottom margins of print layout.
left Specifies the left margins of print layout.

Example

<div id="container"></div>
<script>
    $("#container").boldReportDesigner({
        previewOptions: {
            pageSettings: {
                margins: { top: 0.5, right: 0.25, bottom: 0.25, left: 0.25 }
            }
        }
    });
</script>

hidePageOrientation

boolean

Enables and disables the page orientation in page settings.

Defaults to false

Example

<div id="container"></div>
<script>
    $("#container").boldReportDesigner({
        previewOptions: {
            pageSettings: {
                 hidePageOrientation: true
            }
        }
    });
</script>