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

PngFrame Constructor (Bitmap, Boolean)

Creates and initializes new PngFrame class instance. You can associate a bitmap with it as well as set all the frame settings here.

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

Syntax

Visual Basic
Public Sub New ( _
	bitmap As Bitmap, _
	interlaced As Boolean _
)
C#
public PngFrame(
	Bitmap bitmap,
	bool interlaced
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

Bitmap class instance which should be associated with this frame. To put another bitmap into frame, you should use SetBitmap(Bitmap) method.
interlaced

Type: System.Boolean

Value that specifies if the PNG file should be interlaced. You can change it later using Interlaced property.

See Also

Reference