バージョン

MemoBreakMode プロパティ

メモ PrintStyle で、新しいページをいつ始めるかを取得または設定します。
シンタックス
'宣言
 
Public Property MemoBreakMode As MemoBreakMode
public MemoBreakMode MemoBreakMode {get; set;}
使用例
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;
参照