Skip to content

Commit fea4fa0

Browse files
Copilotkdinev
andcommitted
Change default PDF export page orientation to landscape
Grids are typically wide, so landscape orientation is more suitable as the default for grid exports. Co-authored-by: kdinev <[email protected]>
1 parent 8e46d65 commit fea4fa0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/igniteui-angular/src/lib/services/pdf/pdf-exporter-options.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ import { IgxExporterOptionsBase } from '../exporter-common/exporter-options-base
55
*/
66
export class IgxPdfExporterOptions extends IgxExporterOptionsBase {
77
/**
8-
* Specifies the page orientation. (portrait or landscape, portrait by default)
8+
* Specifies the page orientation. (portrait or landscape, landscape by default)
99
* ```typescript
1010
* let pageOrientation = this.exportOptions.pageOrientation;
11-
* this.exportOptions.pageOrientation = 'landscape';
11+
* this.exportOptions.pageOrientation = 'portrait';
1212
* ```
1313
*
1414
* @memberof IgxPdfExporterOptions
1515
*/
16-
public pageOrientation: 'portrait' | 'landscape' = 'portrait';
16+
public pageOrientation: 'portrait' | 'landscape' = 'landscape';
1717

1818
/**
1919
* Specifies the page size. (a4, a3, letter, legal, etc., a4 by default)

0 commit comments

Comments
 (0)