Creates a new
GrayscaleBitmap with a fragment of the image.
シンタックス
'宣言
Public Function Clip( _
ByVal As System.Drawing.Rectangle, _
Optional ByVal As System.Boolean _
) As GrayscaleBitmap
public GrayscaleBitmap Clip(
System.Drawing.Rectangle ,
System.bool
)
パラメータ
- rect
- Clipping rectangle of the source image to be extracted as a new GrayscaleBitmap.
- metadataOnly
- Specifies whether to copy the image metadata only, not actual pixel data. If false, the corresponding pixel data will be copied from the current GrayscaleBitmap. If true, the pixel data of the resulting GrayscaleBitmap remain uninitialized.
参照