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

PdfFrame Constructor (Bitmap, Int32)

Creates and initializes new PdfFrame class instance. You can associate a bitmap with this frame here and initialize JPEG quality.

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

Syntax

Visual Basic
Public Sub New ( _
	bitmap As Bitmap, _
	quality As Integer _
)
C#
public PdfFrame(
	Bitmap bitmap,
	int quality
)

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.
quality

Type: System.Int32

Value in range [0, 100] specifying JPEG quality. You can change it using Quality property.

Remarks

If you use this constructor, Compression is set to Jpeg.

See Also

Reference