XpsImage Class
Represents an image in an XpsDocument.
Assembly: ReachFramework (in ReachFramework.dll)
The XpsImage class has no public constructor.
Use the AddImage method to add an image and obtain a reference to it in a new document.
Use the GetImage method to obtain an image reference in an existing document.
Based on settings of XpsSerializationManager and XpsPackagingPolicy, such as FontSubsetterCommitPolicies and PackageInterleavingOrder, the flush operation of the Commit method of the XpsImage class may be delayed until the complete XpsDocument is closed.
The following example shows how to add images to an XpsDocument.
For the complete sample, see Creating an XPS Document Sample.
System.Windows.Xps.Packaging.XpsPartBase
System.Windows.Xps.Packaging.XpsResource
System.Windows.Xps.Packaging.XpsImage
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.