バージョン

MemoBreakMode 列挙体

Memo スタイルの UltraSchedulePrintDocument.PrintStyle で印刷する場合、改ページをいつ挿入するかを指定するために UltraSchedulePrintDocument.MemoBreakMode プロパティで使用する列挙体。
シンタックス
'宣言
 
Public Enum MemoBreakMode 
   Inherits System.Enum
public enum MemoBreakMode : System.Enum 
メンバ
メンバ解説
BreakAfterEachItemMemoUltraSchedulePrintDocument.PrintStyle の各項目を別々のページに印刷します。
BreakAfterWholeItem次の項目全体を印刷するスペースがなくなるまで、同じページに項目を印刷します。各ページには少なくとも1つの項目が印刷されます。
NoExtraBreaks改ページは挿入しません。ページに残りの項目を印刷するスペースがなくなった場合のみ、改ページされます。
使用例
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;
参照