TTMSFNCGanttChart.ExportView Method
Exports the current view to the supplied graphics context.
API unit family: TMSFNCGanttChart
Declaring type: TTMSFNCGanttChart
Inherited from: TTMSFNCCustomGanttChart
Syntax
procedure ExportView(AGraphics: TTMSFNCGraphics; ARect: TRectF; AMargins: TTMSFNCMargins; AExportOptions: TTMSFNCGanttChartExportOptions; AOnNewPage: TTMSFNCGanttChartExportNewPageCallback = nil; AOnGetPageIndex: TTMSFNCGanttChartExportGetPageIndexCallback = nil); virtual;
Parameters
| Name | Description |
|---|---|
AGraphics |
Graphics context that receives the exported output. |
ARect |
Target rectangle for the exported view. |
AMargins |
Margins applied around the exported view. |
AExportOptions |
Options that control exported task-list and timeline content. |
AOnNewPage |
Optional callback invoked when export output advances to a new page. |
AOnGetPageIndex |
Optional callback that returns the current page index. |