Exports the grid and/or chart content.

Namespace:  DlhSoft.Web.UI.WebControls
Assembly:  DlhSoft.ProjectData.GanttChart.ASP.Controls (in DlhSoft.ProjectData.GanttChart.ASP.Controls.dll)

Syntax

C#
public void Export(
	string target,
	string title,
	string preparingMessage,
	bool isGridVisible,
	int[] columnIndexes,
	Nullable<DateTime> timelineStart,
	Nullable<DateTime> timelineFinish,
	double hourWidth,
	Nullable<int> startRowIndex,
	Nullable<int> endRowIndex,
	bool rotate
)
Visual Basic (Declaration)
Public Sub Export ( _
	target As String, _
	title As String, _
	preparingMessage As String, _
	isGridVisible As Boolean, _
	columnIndexes As Integer(), _
	timelineStart As Nullable(Of DateTime), _
	timelineFinish As Nullable(Of DateTime), _
	hourWidth As Double, _
	startRowIndex As Nullable(Of Integer), _
	endRowIndex As Nullable(Of Integer), _
	rotate As Boolean _
)

Parameters

target
Type: System..::.String
The client window name to export to; by default the content is exported to a new window ("_blank" target).
title
Type: System..::.String
The title to use for the temporary client window generated to support the export operation.
preparingMessage
Type: System..::.String
The temporary message to be displayed in the output window while the asynchronous export operation is in progress.
isGridVisible
Type: System..::.Boolean
Determines whether the grid is exported; by default the value from the component instance settings is used.
columnIndexes
Type: array< System..::.Int32 >[]()[]
Determines the columns to be exported, considering the specified array of column indexes in the columns collection; by default all displayed columns are exported.
timelineStart
Type: System..::.Nullable<(Of <(DateTime>)>)
Start date and time of the exported chart area; by default the value from the component instance settings is used.
timelineFinish
Type: System..::.Nullable<(Of <(DateTime>)>)
Finish date and time of the exported chart area; by default the value from the component instance settings is used
hourWidth
Type: System..::.Double
Indicates the zoom level to be used for the exported chart area, and represents the actual number of device units each hour in the timeline gets available; to zoom in when exporting, increase this value; to zoom out, decrease it; by default the value from the component instance settings is used.
startRowIndex
Type: System..::.Nullable<(Of <(Int32>)>)
Determines the first row to be exported, considering the specified index in the item collection; by default all rows, including those that are not currently visible in the viewport, are exported.
endRowIndex
Type: System..::.Nullable<(Of <(Int32>)>)
Determines the last row to be exported, considering the specified index in the item collection; by default all rows, including those that are not currently visible in the viewport, are exported.
rotate
Type: System..::.Boolean
Determines whether to rotate the exported content in the output document.

See Also