Prints the grid and/or chart.

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

Syntax

C#
public void Print(
	string title,
	string preparingMessage,
	bool isGridVisible,
	int[] columnIndexes,
	Nullable<DateTime> timelineStart,
	Nullable<DateTime> timelineFinish,
	double hourWidth,
	Nullable<int> startRowIndex,
	Nullable<int> endRowIndex,
	bool rotate,
	bool autoClose
)
Visual Basic (Declaration)
Public Sub Print ( _
	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, _
	autoClose As Boolean _
)

Parameters

title
Type: System..::.String
The title to use for the temporary client window generated to support the print operation.
preparingMessage
Type: System..::.String
The temporary message to be displayed in the output window while the asynchronous print operation is in progress.
isGridVisible
Type: System..::.Boolean
Determines whether the grid is printed; by default the value from the component instance settings is used.
columnIndexes
Type: array< System..::.Int32 >[]()[]
Determines the columns to be printed, considering the specified array of column indexes in the columns collection; by default all displayed columns are printed.
timelineStart
Type: System..::.Nullable<(Of <(DateTime>)>)
Start date and time of the printed 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 printed 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 printed chart area, and represents the actual number of device units each hour in the timeline gets available; to zoom in when printing, 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 printed, considering the specified index in the item collection; by default all rows, including those that are not currently visible in the viewport, are printed.
endRowIndex
Type: System..::.Nullable<(Of <(Int32>)>)
Determines the last row to be printed, considering the specified index in the item collection; by default all rows, including those that are not currently visible in the viewport, are printed.
rotate
Type: System..::.Boolean
Determines whether to rotate the exported content in order to simulate Landscape printing.
autoClose
Type: System..::.Boolean
Determines whether to automatically close the temporary export output window generated for printing when the operation is completed.

See Also