PdfWriter.AddPage Method (Single, Single, Single, Single, Color, ColorProfile, RectangleF, RectangleF, RectangleF, RectangleF)

Adds a page with the specified dimensions, margins, background color, color profile, and rectangles to the PDF document.

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

Syntax

C#
public void AddPage(
	float width,
	float height,
	float dpiX,
	float dpiY,
	Color color,
	ColorProfile profile,
	RectangleF cropBox,
	RectangleF trimBox,
	RectangleF bleedBox,
	RectangleF artBox
)

Parameters

width

Type: System.Single

The width of the page.
height

Type: System.Single

The height of the page.
dpiX

Type: System.Single

dpiY

Type: System.Single

color

Type: Aurigma.GraphicsMill.Color

profile

Type: Aurigma.GraphicsMill.ColorProfile

cropBox

Type: System.Drawing.RectangleF

The crop box of the page.
trimBox

Type: System.Drawing.RectangleF

The trim box of the page.
bleedBox

Type: System.Drawing.RectangleF

The bleed box of the page.
artBox

Type: System.Drawing.RectangleF

See Also

Reference