Class SchedulePDFExport
Inheritance
Inherited Members
Namespace: Syncfusion.EJ.Export
Assembly: Syncfusion.EJ.Export.dll
Syntax
public class SchedulePDFExport
Constructors
SchedulePDFExport()
Declaration
public SchedulePDFExport()
Fields
AlldayImage
This field stores the image used to represent the Allday appointments.
Declaration
public PdfImage AlldayImage
Field Value
Type | Description |
---|---|
PdfImage |
HEADER_HEIGHT
Declaration
public int HEADER_HEIGHT
Field Value
Type | Description |
---|---|
System.Int32 |
RecurrenceEditiImage
This field stores the image used to represent the recurrence appointments.
Declaration
public PdfImage RecurrenceEditiImage
Field Value
Type | Description |
---|---|
PdfImage |
RecurrenceImage
This field stores the image used to represent the recurrence appointments.
Declaration
public PdfImage RecurrenceImage
Field Value
Type | Description |
---|---|
PdfImage |
VIEW_HEADER_HEIGHT
Declaration
public int VIEW_HEADER_HEIGHT
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
AllDayApp
Gets or sets the AllDayApp value
Declaration
public List<ScheduleAppFields> AllDayApp { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ScheduleAppFields> | The allday app |
AllDayHeight
Gets or sets the AllDayHeight value
Declaration
public int AllDayHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The all day height |
AM
Gets or sets the AM value
Declaration
public string AM { get; set; }
Property Value
Type | Description |
---|---|
System.String | The am |
AppointmentList
Gets or sets the AppointmentList value
Declaration
public List<ScheduleAppFields> AppointmentList { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ScheduleAppFields> | The appointment list |
Appointments
Gets or sets the Appointments value
Declaration
public ScheduleAppFields Appointments { get; set; }
Property Value
Type | Description |
---|---|
ScheduleAppFields | The appointments |
BlockAppointmentList
Gets or sets the Block AppointmentList value
Declaration
public List<ScheduleBlockAppFields> BlockAppointmentList { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ScheduleBlockAppFields> | The block appointment list |
CellColWidth
Gets or sets the CellColWidth value
Declaration
public float CellColWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The cell col width |
CellHeight
Gets or sets the CellHeight value
Declaration
public int CellHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The cell height |
CurrentView
Gets or sets the CurrentView value
Declaration
public string CurrentView { get; set; }
Property Value
Type | Description |
---|---|
System.String | The currrent view |
Document
Gets or sets the Document value
Declaration
public PdfDocument Document { get; set; }
Property Value
Type | Description |
---|---|
PdfDocument | The document |
EndHour
Gets or sets the EndHour value
Declaration
public int EndHour { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The end hour |
EndResources
Gets or sets the EndResources value
Declaration
public List<string> EndResources { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | The end resources |
EndResourcesID
Gets or sets the EndResourcesID value
Declaration
public List<object> EndResourcesID { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Object> | The end resources id |
GroupHeight
Gets or sets the GroupHeight value
Declaration
public int GroupHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The group height |
IgnoreTimeScale
Gets or sets the IgnoreTimeScale value
Declaration
public bool IgnoreTimeScale { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The timeScale enable / disable |
IsAllDayRow
Gets or sets the isAllDayRow value
Declaration
public bool IsAllDayRow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The show / hide AllDayRow |
IsAppointmentBlock
Gets or sets the BlockAppointment value
Declaration
public bool IsAppointmentBlock { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The BlockAppointment is enable / disable |
IsCustomView
Gets or sets the IsCustomView value
Declaration
public bool IsCustomView { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The CustomView Rendering |
MajorInterval
Gets or sets the MajorInterval value
Declaration
public int MajorInterval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The major interval |
MinorSeperation
Gets or sets the MinorSeperation value
Declaration
public int MinorSeperation { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The minor seperation |
MonthCellHeight
Gets or sets the MonthCellHeight value
Declaration
public int MonthCellHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The month cell height |
MonthCellWidth
Gets or sets the MonthCellWidth value
Declaration
public float MonthCellWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The month cell width |
MonthRowHeight
Gets or sets the MonthRowHeight value
Declaration
public List<float> MonthRowHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Single> | The month row height |
MonthViewRows
Gets or sets the MonthViewRows value
Declaration
public int MonthViewRows { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The month view rows |
PM
Gets or sets the PM value
Declaration
public string PM { get; set; }
Property Value
Type | Description |
---|---|
System.String | The pm |
RenderDates
Gets or sets the RenderDates value
Declaration
public int RenderDates { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The RenderDates Count |
ResDetail
Gets or sets the ResDetail value
Declaration
public List<Dictionary<string, int>> ResDetail { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Collections.Generic.Dictionary<System.String, System.Int32>> | The res detail |
ShowHeaderBar
Gets or sets the ShowHeaderBar value
Declaration
public bool ShowHeaderBar { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The show / hide ShowHeaderBar |
SortedListItem
Gets or sets the SortedListItem value
Declaration
public List<ResApp> SortedListItem { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ResApp> | The sorted list item |
StartHour
Gets or sets the StartHour value
Declaration
public int StartHour { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The start hourt |
Temp
Gets or sets the Temp value
Declaration
public List<ResApp> Temp { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ResApp> | The temp |
UnSortedListItem
Gets or sets the UnSortedListItem value
Declaration
public List<ResApp> UnSortedListItem { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ResApp> | The unsorted list item |
ViewEndTime
Gets or sets the ViewEndTime value
Declaration
public DateTime ViewEndTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The view end time |
ViewStartTime
Gets or sets the ViewStartTime value
Declaration
public DateTime ViewStartTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The view start time |
WorkWeekCount
Gets or sets the WorkWeekCount value
Declaration
public int WorkWeekCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The work week count height |
Methods
Export(ScheduleProperties, Object, PdfPageSettings, String, String, PdfDocumentTemplate)
Process the data and return the PDF Document
Declaration
public PdfDocument Export(ScheduleProperties model, object processedApp, PdfPageSettings pdfPageSettings, string theme, string locale, PdfDocumentTemplate pdfDocumentTemplate)
Parameters
Type | Name | Description |
---|---|---|
ScheduleProperties | model | |
System.Object | processedApp | |
PdfPageSettings | pdfPageSettings | |
System.String | theme | |
System.String | locale | |
PdfDocumentTemplate | pdfDocumentTemplate |
Returns
Type | Description |
---|---|
PdfDocument |
GetBooleanValue(String)
Get the boolean value from string and integer
Declaration
public bool GetBooleanValue(string str)
Parameters
Type | Name | Description |
---|---|---|
System.String | str |
Returns
Type | Description |
---|---|
System.Boolean |
ScheduleSerializeModel(String)
serialize the Schedule model.
Declaration
public ScheduleProperties ScheduleSerializeModel(string model)
Parameters
Type | Name | Description |
---|---|---|
System.String | model |
Returns
Type | Description |
---|---|
ScheduleProperties |
SetIcons(String)
Load the icons in stream memory.
Declaration
public void SetIcons(string theme)
Parameters
Type | Name | Description |
---|---|---|
System.String | theme |
Sort(List<ResApp>)
Sort the resources in the treeview manner.
Declaration
public List<ResApp> Sort(List<ResApp> unsorted)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<ResApp> | unsorted |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<ResApp> |
SortItem(ResApp, List<ResApp>)
Intermediate calculation for sorting the resources.
Declaration
public void SortItem(ResApp first, List<ResApp> Items)
Parameters
Type | Name | Description |
---|---|---|
ResApp | first | |
System.Collections.Generic.List<ResApp> | Items |