DocumentPage DocumentPage DocumentPage DocumentPage Class

定義

表示分頁符號所產生的文件頁面。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
繼承
DocumentPageDocumentPageDocumentPageDocumentPage
實作

建構函式

DocumentPage(Visual) DocumentPage(Visual) DocumentPage(Visual) DocumentPage(Visual)

使用指定的 DocumentPage 來初始化 Visual 類別的新執行個體。Initializes a new instance of the DocumentPage class by using the specified Visual.

DocumentPage(Visual, Size, Rect, Rect) DocumentPage(Visual, Size, Rect, Rect) DocumentPage(Visual, Size, Rect, Rect) DocumentPage(Visual, Size, Rect, Rect)

使用指定的 DocumentPage 結構和方塊大小,初始化 Visual 類別的新執行個體。Initializes a new instance of the DocumentPage class by using the specified Visual and box sizes.

欄位

Missing Missing Missing Missing

表示遺漏的頁面。Represents a missing page. 這是一個靜態且唯讀的屬性。This property is static and read only.

屬性

BleedBox BleedBox BleedBox 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 ContentBox ContentBox ContentBox

在衍生類別中覆寫時,取得邊界內的頁面區域。When overridden in a derived class, gets the area of the page within the margins.

Size Size Size Size

在衍生類別中覆寫時,取得會遵循任何裁剪之頁面的實際大小。When overridden in a derived class, gets the actual size of a page as it will be following any cropping.

Visual Visual Visual Visual

在衍生類別中覆寫時,取得頁面的視覺化呈現。When overridden in a derived class, gets the visual representation of the page.

方法

Dispose() Dispose() Dispose() Dispose()

釋放 DocumentPage 所使用的所有資源。Releases all resources used by the DocumentPage.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
OnPageDestroyed(EventArgs) OnPageDestroyed(EventArgs) OnPageDestroyed(EventArgs) OnPageDestroyed(EventArgs)

引發 PageDestroyed 事件。Raises the PageDestroyed event.

SetBleedBox(Rect) SetBleedBox(Rect) SetBleedBox(Rect) SetBleedBox(Rect)

設定 BleedBox 的維度和位置。Sets the dimensions and location of the BleedBox.

SetContentBox(Rect) SetContentBox(Rect) SetContentBox(Rect) SetContentBox(Rect)

設定 ContentBox 的維度和位置。Sets the dimension and location of the ContentBox.

SetSize(Size) SetSize(Size) SetSize(Size) SetSize(Size)

設定實體頁面在進行任何裁剪之後的 SizeSets the Size of the physical page as it will be after any cropping.

SetVisual(Visual) SetVisual(Visual) SetVisual(Visual) SetVisual(Visual)

設定描述頁面的 VisualSets the Visual that depicts the page.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

事件

PageDestroyed PageDestroyed PageDestroyed PageDestroyed

當描述 VisualDocumentPage 遭到摧毀且無法再用於顯示時發生。Occurs when the Visual that depicts the DocumentPage is destroyed and can no longer be used for display.

適用於