PrintDocument for WinForms
DocumentToClient(Int32,PointF,Point) メソッド


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

パラメータ

pageIdx
0-based page index of the document point.
ptPage
Point on page pageIdx.
pt
OUT: Preview pane client point.

戻り値の型

True if the client point belongs to a document page, false otherwise.
参照

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