BASS.NET API for the Un4seen BASS Audio LibraryWaveFormCreateBitmap Method (Graphics, Rectangle, Int32, Int32, Boolean)BASS.NET API for the Un4seen BASS Audio Library
Draws the rendered wave form directly on the provided GDI+ graphics.

Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public bool CreateBitmap(
	Graphics g,
	Rectangle clipRectangle,
	int frameStart,
	int frameEnd,
	bool highQuality
)

Parameters

g
Type: System.DrawingGraphics
The GDI+ graphics object where to draw the wave form (ie. can be taken directly from a PaintEventArgs).
clipRectangle
Type: System.DrawingRectangle
The rectangle describing the size of the wave form to draw (ie. can be taken directly from a PaintEventArgs).
frameStart
Type: SystemInt32
The rendered frame from where to start creating the image (specify 0 or -1 to start from the beginning).
frameEnd
Type: SystemInt32
The rendered frame til where to creating the image (specify -1 to create til the end).
highQuality
Type: SystemBoolean
, if anti alias should be used when drawing. will draw in high speed mode.

Return Value

Type: Boolean
, if successfully painted, else .
Remarks

This overload is most useful when you are developing your own custom control. You might use it directly within your paint overload implementation.
See Also

Reference