FlexReport for WinForms
OnPage プロパティ (FlexReport)


C1.Report.4.6.2 アセンブリ > C1.Report 名前空間 > FlexReport クラス : OnPage プロパティ
Gets or sets the VBScript that is executed when a new page is created.
シンタックス
'宣言
 
Public Property OnPage As System.String
'使用法
 
Dim instance As FlexReport
Dim value As System.String
 
instance.OnPage = value
 
value = instance.OnPage
public System.string OnPage {get; set;}
解説

The control also fires the StartPage event at this time.

The difference between the regular event and the VBScript property is that the handler for the regular event belongs to the application, and should thus be used to support tasks that are independent of the report. For example, to update a label showing how many pages have been rendered so far.

The VBScript handler in the property belongs to the report, and will be executed regardless of the application. For example, a report might contain a VBScript handler that updates a variable at every page break.

参照

参照

FlexReport クラス
FlexReport メンバ