System.Windows.Xps.Packaging 命名空間

提供允許應用程式讀取及寫入 XPS 文件之元件的類型。 Provides types that allow applications to read and write the components of an XPS document.

類別

PackagingProgressEventArgs

提供 PackagingProgressEvent 事件的資料。Provides data for the PackagingProgressEvent event.

SpotLocation

表示位置,以在 XpsDocument 上顯示數位簽章。Represents the location to display a digital signature on an XpsDocument.

XpsColorContext

表示點陣圖影像的色彩內容。Represents the color context for a bitmap image.

XpsDigitalSignature

表示 XpsDocument 的數位簽章。Represents a digital signature for an XpsDocument.

XpsDocument

提供存放 XPS 文件之內容的 PackageProvides a Package that holds the content of an XPS document.

XpsFont

表示 XpsDocument 中的字型。Represents a font in an XpsDocument.

XpsImage

表示在 XpsDocument 中的影像。Represents an image in an XpsDocument.

XpsPartBase

Defines the abstract class that is the parent for all part classes that can be contained in an XPS package.Defines the abstract class that is the parent for all part classes that can be contained in an XPS package.

XpsResource

定義資源的基底類別,這些資源可以加入至 XpsDocumentDefines the base class for resources that can be added to an XpsDocument.

XpsResourceDictionary

Represents a dictionary of XpsResource elements that are usable across pages of the XpsDocument.Represents a dictionary of XpsResource elements that are usable across pages of the XpsDocument.

XpsSignatureDefinition

表示 XpsDocument 數位簽章。Represents an XpsDocument digital signature.

XpsStructure

表示 System.Windows.Documents.DocumentStructuresStoryFragmentsXpsDocument 項目。Represents the System.Windows.Documents.DocumentStructures or StoryFragments element of an XpsDocument.

XpsThumbnail

表示文件序列、單一文件或單一頁面的縮圖影像。Represents a thumbnail image of a document sequence, single document, or single page.

介面

IDocumentStructureProvider

Defines a method for adding the DocumentStructure part of XML Paper Specification (XPS) to an XPS package.Defines a method for adding the DocumentStructure part of XML Paper Specification (XPS) to an XPS package.

IStoryFragmentProvider

Defines a method for adding the StoryFragments part of the markup to an XPS package.Defines a method for adding the StoryFragments part of the markup to an XPS package.

IXpsFixedDocumentReader

定義方法,以用於讀取 FixedDocument 的組件,並用於寫入至文件的有限型別。Defines methods for reading the parts of a FixedDocument and also for limited types of writing to the document.

IXpsFixedDocumentSequenceReader

Defines methods for reading the parts of a FixedDocumentSequence.Defines methods for reading the parts of a FixedDocumentSequence.

IXpsFixedDocumentSequenceWriter

Defines methods and properties for writing a FixedDocumentSequence.Defines methods and properties for writing a FixedDocumentSequence.

IXpsFixedDocumentWriter

定義用於寫入 FixedDocument 的方法和屬性。Defines methods and properties for writing a FixedDocument.

IXpsFixedPageReader

定義讀取 FixedPage 之組件的方法。Defines methods for reading the parts of a FixedPage.

IXpsFixedPageWriter

定義方法,以將 FixedPage 組件寫入至 XPS 文件。Defines methods for writing FixedPage parts to an XPS document.

列舉

PackageInterleavingOrder

提供值,這個值可指定套件主要部分的資料流處理順序。Provides values that specify the order in which the major parts of a package are streamed.

PackagingAction

識別在套件序列化期間發生的事件型別。Identifies the types of events that occur during the serialization of a package.

XpsDigSigPartAlteringRestrictions

指定從數位簽章範圍中排除之 XPS Package 的組件。Specifies the parts of the XPS Package that are excluded from the range of a digital signature.

XpsImageType

指定可以包含在 XpsDocument 中之影像的圖形格式。Specifies graphical formats for images that can be included in an XpsDocument.

XpsResourceSharing

指定資源是否可在 XpsDocument 的頁面和文件之間共用。Specifies whether resources can be shared between pages and documents in an XpsDocument.

委派

PackagingProgressEventHandler

Represents the method that handles the PackagingProgressEvent.Represents the method that handles the PackagingProgressEvent.

備註

除了介面和代表 XML 文件規格 (XPS)XML Paper Specification (XPS) 檔主要部分的類型以外,System.Windows.Xps.Packaging 命名空間還提供封裝程式的控制,包括 XPSXPS 檔的數位簽章和數位 Rights Management (DRM)。In addition to the interfaces and the types that represent the major parts of an XML 文件規格 (XPS)XML Paper Specification (XPS) document, the System.Windows.Xps.Packaging namespace provides control over the packaging process, including digital signatures and Digital Rights Management (DRM) of XPSXPS documents.

如需詳細資訊,請參閱可在https://go.microsoft.com/fwlink/?LinkID=65761下載的 XML 檔規格(XPS)。For more information, see the XML Paper Specification (XPS) available for download at https://go.microsoft.com/fwlink/?LinkID=65761.

另請參閱