PrintDocument for WinForms
DocumentToClient(Int32,RectangleF,Rectangle) メソッド


C1.Win.PrintPreview.6 アセンブリ > C1.Win.C1Preview 名前空間 > C1PreviewPane クラス > DocumentToClient メソッド : DocumentToClient(Int32,RectangleF,Rectangle) メソッド
0-based page index.
Rectangle on page pageIdx.
OUT: Rectangle converted to preview pane client coordinates.
Converts a RectangleF in document coordinates to the current C1PreviewPane's client coordinates.
シンタックス
'宣言
 
Public Overloads Function DocumentToClient( _
   ByVal pageIdx As System.Integer, _
   ByVal rPage As System.Drawing.RectangleF, _
   ByRef r As System.Drawing.Rectangle _
) As System.Boolean
'使用法
 
Dim instance As C1PreviewPane
Dim pageIdx As System.Integer
Dim rPage As System.Drawing.RectangleF
Dim r As System.Drawing.Rectangle
Dim value As System.Boolean
 
value = instance.DocumentToClient(pageIdx, rPage, r)
public System.bool DocumentToClient( 
   System.int pageIdx,
   System.Drawing.RectangleF rPage,
   out System.Drawing.Rectangle r
)

パラメータ

pageIdx
0-based page index.
rPage
Rectangle on page pageIdx.
r
OUT: Rectangle converted to preview pane client coordinates.

戻り値の型

True if the client rectangle's location belongs to a document page, false otherwise.
参照

C1PreviewPane クラス
C1PreviewPane メンバ
オーバーロード一覧
ClientToDocument メソッド