DocumentPage Class

Definition

Represents a document page produced by a paginator.

public ref class DocumentPage : IDisposable
public class DocumentPage : IDisposable
type DocumentPage = class
    interface IDisposable
Public Class DocumentPage
Implements IDisposable
Inheritance
DocumentPage
Implements

Constructors

DocumentPage(Visual)

Initializes a new instance of the DocumentPage class by using the specified Visual.

DocumentPage(Visual, Size, Rect, Rect)

Initializes a new instance of the DocumentPage class by using the specified Visual and box sizes.

Fields

Missing

Represents a missing page. This property is static and read only.

Properties

BleedBox

When overridden in a derived class, gets the area for print production-related bleeds, registration marks, and crop marks that may appear on the physical sheet outside the logical page boundaries.

ContentBox

When overridden in a derived class, gets the area of the page within the margins.

Size

When overridden in a derived class, gets the actual size of a page as it will be following any cropping.

Visual

When overridden in a derived class, gets the visual representation of the page.

Methods

Dispose()

Releases all resources used by the DocumentPage.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnPageDestroyed(EventArgs)

Raises the PageDestroyed event.

SetBleedBox(Rect)

Sets the dimensions and location of the BleedBox.

SetContentBox(Rect)

Sets the dimension and location of the ContentBox.

SetSize(Size)

Sets the Size of the physical page as it will be after any cropping.

SetVisual(Visual)

Sets the Visual that depicts the page.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

PageDestroyed

Occurs when the Visual that depicts the DocumentPage is destroyed and can no longer be used for display.

Applies to