Search
Report.Preview Method (DateTime, DateTime)
See Also
 





Generates a print preview of the items in the specified range from the underlying schedule.

Namespace: MindFusion.Scheduling.Reporting
Assembly: MindFusion.Scheduling.Reporting

 Syntax

C#  Copy Code

public void Preview (
    DateTime start,
    DateTime end
)

Visual Basic  Copy Code

Public Sub Preview( _
    start As DateTime, _
    end As DateTime _
)

 Parameters

start
A .NET DateTime object, specifying the beginning of the time interval containing the items to be included in the report.
end
A .NET DateTime object, specifying the end of the time interval containing the items to be included in the report.

 Remarks

Use the start and end parameters when there are infinite recurring items in your schedule. Otherwise, it is safe to specify DateTime.MinValue and DateTime.MaxValue for the start and end time parameters respectively to ensure all items will get included in the report.

 Note

Make sure you assign a Schedule object to the report through its Schedule property. Calling this method before doing this will result in an InvalidOperationException.

 See Also