DocumentPage 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示分頁符號所產生的文件頁面。
public ref class DocumentPage : IDisposable
C#
public class DocumentPage : IDisposable
type DocumentPage = class
interface IDisposable
Public Class DocumentPage
Implements IDisposable
- 繼承
-
DocumentPage
- 實作
Document |
使用指定的 DocumentPage 來初始化 Visual 類別的新執行個體。 |
Document |
使用指定的 DocumentPage 結構和方塊大小,初始化 Visual 類別的新執行個體。 |
Missing |
表示遺漏的頁面。 這是一個靜態且唯讀的屬性。 |
Bleed |
在衍生類別中覆寫時,取得列印產出相關滲漏區域、註冊標記,以及可能會出現在邏輯頁面界限外的實體紙張裁切線。 |
Content |
在衍生類別中覆寫時,取得邊界內的頁面區域。 |
Size |
在衍生類別中覆寫時,取得會遵循任何裁剪之頁面的實際大小。 |
Visual |
在衍生類別中覆寫時,取得頁面的視覺化呈現。 |
Dispose() |
釋放 DocumentPage 所使用的所有資源。 |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
做為預設雜湊函式。 (繼承來源 Object) |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
On |
引發 PageDestroyed 事件。 |
Set |
設定 BleedBox 的維度和位置。 |
Set |
設定 ContentBox 的維度和位置。 |
Set |
設定實體頁面在進行任何裁剪之後的 Size。 |
Set |
設定描述頁面的 Visual。 |
To |
傳回代表目前物件的字串。 (繼承來源 Object) |
Page |
當描述 Visual 的 DocumentPage 遭到摧毀且無法再用於顯示時發生。 |
產品 | 版本 |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |