Saves a rendered WaveForm to a byte array.
Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Return Value
Type: ByteThe byte array containing the serialized data of the wave form.
Remarks
Examples
C#
private byte[] waveformSave; ... // save the wave form to a byte array waveformSave = WF.WaveFormSaveToMemory(); .. // load the wave form to a byte array WF = new Un4seen.Bass.Misc.WaveForm(); WF.WaveFormLoadFromMemory( waveformSave ); WF.DrawMarker = WaveForm.MARKERDRAWTYPE.Line | WaveForm.MARKERDRAWTYPE.Name | WaveForm.MARKERDRAWTYPE.NamePositionAlternate; this.pictureBox1.BackgroundImage = WF.CreateBitmap( this.pictureBox1.Width, this.pictureBox1.Height, -1, -1, true);
See Also