Version

MemoBreakMode Enumeration

Enumeration used by the UltraSchedulePrintDocument.MemoBreakMode property to determine when a page break should be inserted when printing a Memo style UltraSchedulePrintDocument.PrintStyle
Syntax
'Declaration
 
Public Enum MemoBreakMode 
   Inherits System.Enum
public enum MemoBreakMode : System.Enum 
Members
MemberDescription
BreakAfterEachItemEach item in a MemoUltraSchedulePrintDocument.PrintStyle is rendered on a separate page.
BreakAfterWholeItemItem are rendered on the same page until there isn't enough room to print the entirety of the next item. A page will have at least one item printed.
NoExtraBreaksNo page breaks are inserted. A page break is only inserted when there is no more room to render the rest of the item.
Example
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
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;
Requirements

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

See Also