MCImageManager API Reference |
IndexedImageUtils..::.IndexedCrop Method |
IndexedImageUtils Class See Also Send Feedback |
This method does a indexed crop of a bitmap and returns a new croped bitmap.
Namespace:
Moxiecode.ImageManager.Utils
Assembly:
MCImageManager (in MCImageManager.dll) Version: 1.0.0.0
Syntax
C# |
---|
public static Bitmap IndexedCrop( string path, int tx, int ty, int width, int height ) |
Visual Basic (Declaration) |
---|
Public Shared Function IndexedCrop ( _ path As String, _ tx As Integer, _ ty As Integer, _ width As Integer, _ height As Integer _ ) As Bitmap |
Visual C++ |
---|
public: static Bitmap^ IndexedCrop( String^ path, int tx, int ty, int width, int height ) |
Parameters
- path
- Type: System..::.String
File to crop.
- tx
- Type: System..::.Int32
x pos.
- ty
- Type: System..::.Int32
y pos.
- width
- Type: System..::.Int32
width.
- height
- Type: System..::.Int32
height.