Enumeration used by the
UltraSchedulePrintDocument.MemoBreakMode property to determine when a page break should be inserted when printing a
Memo style
UltraSchedulePrintDocument.PrintStyle
The following example demonstrates how to print a memo print style.
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule
'print the activity in the date range
Me.UltraSchedulePrintDocument1.PrintStyle = SchedulePrintStyle.Memo
'the 'MemoBreakMode' determines when a page break is inserted. by default,
'no page breaks are inserted. this property may be used to only render complete
'items or even limit the print operation to print each appointment item on
'a separate page
'Me.UltraSchedulePrintDocument1.MemoBreakMode = MemoBreakMode.BreakAfterEachItem
'Me.UltraSchedulePrintDocument1.MemoBreakMode = MemoBreakMode.NoExtraBreaks
Me.UltraSchedulePrintDocument1.MemoBreakMode = MemoBreakMode.BreakAfterWholeItem
'the 'MemoFieldLabelAppearance' affects the display of the label or caption
'of each field
Me.UltraSchedulePrintDocument1.MemoFieldLabelAppearance.FontData.Bold = DefaultableBoolean.True
'the 'MemoFieldValueAppearance' affects the display of the value of each field
'of each memo item
Me.UltraSchedulePrintDocument1.MemoFieldValueAppearance.FontData.Bold = DefaultableBoolean.False
'the 'MemoTitleAppearance' affects the display of the title above each
'memo item. the title is the area that contains the name of the owner
'of the appointment
Me.UltraSchedulePrintDocument1.MemoTitleAppearance.FontData.Name = "Tahoma"
Me.UltraSchedulePrintDocument1.MemoTitleAppearance.FontData.Bold = DefaultableBoolean.True
Me.UltraSchedulePrintDocument1.MemoTitleAppearance.FontData.SizeInPoints = 14
'Declaration
Public Enum MemoBreakMode
Inherits System.Enum
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;
//print the activity in the date range
this.ultraSchedulePrintDocument1.PrintStyle = SchedulePrintStyle.Memo;
//the 'MemoBreakMode' determines when a page break is inserted. by default,
//no page breaks are inserted. this property may be used to only render complete
//items or even limit the print operation to print each appointment item on
//a separate page
//this.ultraSchedulePrintDocument1.MemoBreakMode = MemoBreakMode.BreakAfterEachItem
//this.ultraSchedulePrintDocument1.MemoBreakMode = MemoBreakMode.NoExtraBreaks
this.ultraSchedulePrintDocument1.MemoBreakMode = MemoBreakMode.BreakAfterWholeItem;
//the 'MemoFieldLabelAppearance' affects the display of the label or caption
//of each field
this.ultraSchedulePrintDocument1.MemoFieldLabelAppearance.FontData.Bold = DefaultableBoolean.True;
//the 'MemoFieldValueAppearance' affects the display of the value of each field
//of each memo item
this.ultraSchedulePrintDocument1.MemoFieldValueAppearance.FontData.Bold = DefaultableBoolean.False;
//the 'MemoTitleAppearance' affects the display of the title above each
//memo item. the title is the area that contains the name of the owner
//of the appointment
this.ultraSchedulePrintDocument1.MemoTitleAppearance.FontData.Name = "Tahoma";
this.ultraSchedulePrintDocument1.MemoTitleAppearance.FontData.Bold = DefaultableBoolean.True;
this.ultraSchedulePrintDocument1.MemoTitleAppearance.FontData.SizeInPoints = 14;
'Declaration
Public Enum MemoBreakMode
Inherits System.Enum
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2