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="reportviewer"></div>
<script>
$("#reportviewer").boldReportViewer(
{
pageSettings:{ orientation: ej.ReportViewer.Orientation.Landscape }
});
</script>
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="reportviewer"></div>
<script>
$("#reportviewer").boldReportViewer(
{
pageSettings:{ paperSize: ej.ReportViewer.PaperSize.A4 }
});
</script>
number
Specifies the height of print layout.
Defaults to 0
Example
<div id="reportviewer"></div>
<script>
$("#reportviewer").boldReportViewer(
{
pageSettings: { height: 11.69 }
});
</script>
number
Specifies the width of print layout.
Defaults to 0
Example
<div id="reportviewer"></div>
<script>
$("#reportviewer").boldReportViewer(
{
pageSettings: { width: 8.27 }
});
</script>
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="reportviewer"></div>
<script>
$("#reportviewer").boldReportViewer(
{
pageSettings: {
margins: { top: 0.5, right: 0.25, bottom: 0.25, left: 0.25 }
}
});
</script>
boolean
Enables or disables the page orientation in the page settings.
Defaults to false
Example
<div id="container"></div>
<script>
$("#reportviewer").boldReportViewer(
{
pageSettings: {
hidePageOrientation: true
}
}
);
</script>