BeginArtifact(PdfArtifactType, String?, PdfArtifactEdges, Nullable) Method

Definition

Assembly Broadside.dll

Begins an artifact of type with its subtype, attached edges and bounding box.

public void BeginArtifact(PdfArtifactType type, string? subtype, PdfArtifactEdges attached, PdfRectangle? boundingBox)

Parameters

type
PdfArtifactType

The artifact's type.

subtype
String

The subtype (PDF 1.7), such as Header, Footer or Watermark, or the PDF 2.0 PageNum, LineNum, Redaction and Bates; it should be given for pagination artifacts only. null for none.

attached
PdfArtifactEdges

The page edges the artifact is attached to: pagination and background artifacts only.

boundingBox
Nullable<PdfRectangle>

The artifact's bounding box in default user space, or null.

Remarks

ISO 32000-2 §14.8.2.2.2, Table 363. A subtype records PDF 1.7, and the PDF 2.0 subtypes PDF 2.0, as the version the document needs. End the sequence with EndMarkedContent().