Table of Contents

Class ArtifactMarkedContentElement

Namespace
UglyToad.PdfPig.Content
Assembly
UglyToad.PdfPig.dll

Artifacts are graphics objects that are not part of the author's original content but rather are generated by the conforming writer in the course of pagination, layout, or other strictly mechanical processes.

Artifacts may also be used to describe areas of the document where the author uses a graphical background, with the goal of enhancing the visual experience. In such a case, the background is not required for understanding the content. - PDF 32000-1:2008, Section 14.8.2.2

public class ArtifactMarkedContentElement : MarkedContentElement
Inheritance
ArtifactMarkedContentElement
Inherited Members

Properties

Attached

The names of regions this element is attached to.

public IReadOnlyList<NameToken> Attached { get; set; }

Property Value

IReadOnlyList<NameToken>

AttributeOwners

The artifact's attribute owners.

public string AttributeOwners { get; }

Property Value

string

BoundingBox

The artifact's bounding box.

public PdfRectangle? BoundingBox { get; }

Property Value

PdfRectangle?

IsBottomAttached

Is the artifact attached to the bottom edge?

public bool IsBottomAttached { get; }

Property Value

bool

IsLeftAttached

Is the artifact attached to the left edge?

public bool IsLeftAttached { get; }

Property Value

bool

IsRightAttached

Is the artifact attached to the right edge?

public bool IsRightAttached { get; }

Property Value

bool

IsTopAttached

Is the artifact attached to the top edge?

public bool IsTopAttached { get; }

Property Value

bool

SubType

The artifact's subtype. Standard values are Header, Footer, and Watermark. Additional values may be specified for this entry, provided they comply with the naming conventions.

public string SubType { get; }

Property Value

string

Type

The artifact's type: Pagination, Layout, Page, or (PDF 1.7) Background.

public ArtifactMarkedContentElement.ArtifactType Type { get; }

Property Value

ArtifactMarkedContentElement.ArtifactType