ChartToolsBitmapSegmentFromBitmap Method |
LightningChart .NET Help
Get a segment (sub-region) of a bitmap.
Namespace:
Arction.Wpf.ChartingMVVM
Assembly:
Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntaxpublic static Bitmap BitmapSegmentFromBitmap(
Bitmap bitmapIn,
int firstColumnIndex,
int segmentWidth,
int firstRowIndex,
int segmentHeight
)
Public Shared Function BitmapSegmentFromBitmap (
bitmapIn As Bitmap,
firstColumnIndex As Integer,
segmentWidth As Integer,
firstRowIndex As Integer,
segmentHeight As Integer
) As Bitmap
public:
static Bitmap^ BitmapSegmentFromBitmap(
Bitmap^ bitmapIn,
int firstColumnIndex,
int segmentWidth,
int firstRowIndex,
int segmentHeight
)
Parameters
- bitmapIn
- Type: System.DrawingBitmap
Source bitmap. - firstColumnIndex
- Type: SystemInt32
Index of first column to appear in output bitmap. - segmentWidth
- Type: SystemInt32
Segment width in pixels. - firstRowIndex
- Type: SystemInt32
Index of first row to appear in output bitmap. - segmentHeight
- Type: SystemInt32
Segment height in pixels.
Return Value
Type:
BitmapBitmap segment an a new bitmap.
See Also