DocumentPage Class

 

Represents a document page produced by a paginator.

Namespace:   System.Windows.Documents
Assembly:  PresentationCore (in PresentationCore.dll)

System.Object
  System.Windows.Documents.DocumentPage

public class DocumentPage : IDisposable

NameDescription
System_CAPS_pubmethodDocumentPage(Visual)

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

System_CAPS_pubmethodDocumentPage(Visual, Size, Rect, Rect)

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

NameDescription
System_CAPS_pubpropertyBleedBox

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.

System_CAPS_pubpropertyContentBox

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

System_CAPS_pubpropertySize

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

System_CAPS_pubpropertyVisual

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

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the DocumentPage.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnPageDestroyed(EventArgs)

Raises the PageDestroyed event.

System_CAPS_protmethodSetBleedBox(Rect)

Sets the dimensions and location of the BleedBox.

System_CAPS_protmethodSetContentBox(Rect)

Sets the dimension and location of the ContentBox.

System_CAPS_protmethodSetSize(Size)

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

System_CAPS_protmethodSetVisual(Visual)

Sets the Visual that depicts the page.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticMissing

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

NameDescription
System_CAPS_pubeventPageDestroyed

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

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: