This documentation is for the old version. Go to the latest Graphics Mill docs

Frame.SetBitmap Method

Puts a bitmap into frame.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Overridable Sub SetBitmap ( _
	bitmap As Bitmap _
)
C#
public virtual void SetBitmap(
	Bitmap bitmap
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

Bitmap class instance which should be associated with this frame.

Remarks

If this frame is associated with some format reader, this method will not write the bitmap into it (instead of previously associated bitmap). The purpose of this method is to initialize internal Bitmap object with proper bitmap before passing this frame into AddFrame(IFrame) method.

See Also

Reference