DioDocs for PDF
PushClip(RectangleF,RectangleF) メソッド

DS.Documents.Imaging アセンブリ > GrapeCity.Documents.Drawing 名前空間 > GcGraphics クラス > PushClip メソッド : PushClip(RectangleF,RectangleF) メソッド
The clipping rectangle.
The container rectangle.
Specifies a rectangle to which all subsequent drawing operations are clipped. Clipping is applied only if containerRect does not contain clipRect.

The GcGraphics.Clip object returned by this method implements IDisposable, so this method can be used with the 'using' pattern:

using (g.PushClip(...)) ... in which case the clipping region will be removed when the returned object is disposed.
シンタックス
'宣言
 
Public Overloads Function PushClip( _
   ByVal clipRect As System.Drawing.RectangleF, _
   ByVal containerRect As System.Drawing.RectangleF _
) As GcGraphics.Clip
public GcGraphics.Clip PushClip( 
   System.Drawing.RectangleF clipRect,
   System.Drawing.RectangleF containerRect
)

パラメータ

clipRect
The clipping rectangle.
containerRect
The container rectangle.

戻り値の型

The GcGraphics.Clip object that removes the clipping when disposed.
参照

GcGraphics クラス
GcGraphics メンバ
オーバーロード一覧