PowerTools ActiveReports for .NET 9.0J
PageOffset プロパティ (Viewer)
使用例 

ビューワ内のページの位置を指定します。
構文
'宣言
 
Public Property PageOffset As Point
public Point PageOffset {get; set;}
使用例
private void Form1_Load(System.Object sender, System.EventArgs e)
{
	Viewer1.LoadDocument(new SectionReport1());
}

private void  Viewer1_LoadCompleted(System.Object sender, System.EventArgs e)
{
	Viewer1.PageOffset = new System.Drawing.Point(100, 200);
}
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        Viewer1.LoadDocument(New SectionReport1())
End Sub

Private Sub Viewer1_LoadCompleted(sender As System.Object, e As System.EventArgs) Handles Viewer1.LoadCompleted
        Viewer1.PageOffset = New System.Drawing.Point(100, 200)
End Sub
参照

関連項目

Viewer クラス
Viewer メンバ

 

 


©2003-2015 GrapeCity inc. All rights reserved.