All docs
V21.2
24.1
23.2
23.1
22.2
22.1
21.2
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
The page you are viewing does not exist in version 19.2.
19.1
The page you are viewing does not exist in version 19.1.
18.2
The page you are viewing does not exist in version 18.2.
18.1
The page you are viewing does not exist in version 18.1.
17.2
The page you are viewing does not exist in version 17.2.
A newer version of this page is available. Switch to the current version.

jQuery Common - Object Structures - PdfExportGanttProps

Properties that you can pass as a parameter to the exportGantt(options) method from the pdfExporter module.

import { PdfExportGanttProps } from "devextreme/pdf_exporter"

component

A Gantt instance. This setting is required.

Type:

Gantt

Default Value: undefined

createDocumentMethod

A function that creates a PDF document.

Type:

Function

Function parameters:
options:

Object

PDF document settings.

Return Value:

Object

The PDF document.

dateRange

Specifies the date range for which to export tasks.

Type:

String

|

Object

Accepted Values: 'all' | 'visible'

exportMode

Specifies which part of the component to export (chart area, tree list area, or the entire component).

Type:

String

Accepted Values: 'all' | 'treeList' | 'chart'

fileName

Specifies the file name.

Type:

String

Default Value: undefined

format

Specifies the document size.

Type:

String

|

Object

Default Value: undefined

jsPDFDocument

A jsPDF instance. This setting is required.

Type:

Object

Default Value: undefined

landscape

Specifies whether to use horizontal orientation for the document.

Type:

Boolean

Default Value: true

margins

Specifies the outer indents of the exported area.

Type:

Object

Default Value: undefined