PdfPageSummary Class

A summary of a page: its boxes, its rotation, its annotations and a digest of its content.

public sealed class PdfPageSummary : IEquatable<PdfPageSummary>
Implements

Properties

NameDescription
AnnotationCountGets the number of annotations of the page.
ContentDigestGets the SHA-256 digest of the decoded content of the page, in hexadecimal, or null when the content cannot be decoded.
CropBoxGets the crop box of the page.
MediaBoxGets the media box of the page.
RotationGets the rotation of the page, in degrees.

AnnotationCount

PdfPageSummary.cs

Gets the number of annotations of the page.

public int AnnotationCount { get; }

Property value

int

ContentDigest

PdfPageSummary.cs

Gets the SHA-256 digest of the decoded content of the page, in hexadecimal, or null when the content cannot be decoded.

public string? ContentDigest { get; }

Property value

string?

Gets the crop box of the page.

public PdfRectangle CropBox { get; }

Property value

PdfRectangle

Gets the media box of the page.

public PdfRectangle MediaBox { get; }

Property value

PdfRectangle

Gets the rotation of the page, in degrees.

public int Rotation { get; }

Property value

int

Methods

NameDescription
Equals(PdfPageSummary?)
Equals(object?)
GetHashCode()
ToString()

Equals overloads

Equals(PdfPageSummary?)

public bool Equals(PdfPageSummary? other)
Parameters
other PdfPageSummary?
Returns

bool

No documentation is available.

Equals(object?)

public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(PdfPageSummary?, PdfPageSummary?)
operator !=(PdfPageSummary?, PdfPageSummary?)

operator ==(PdfPageSummary?, PdfPageSummary?)

public static bool operator ==(PdfPageSummary? left, PdfPageSummary? right)

Parameters

left PdfPageSummary?
right PdfPageSummary?

Returns

bool

No documentation is available.

operator !=(PdfPageSummary?, PdfPageSummary?)

public static bool operator !=(PdfPageSummary? left, PdfPageSummary? right)

Parameters

left PdfPageSummary?
right PdfPageSummary?

Returns

bool

No documentation is available.