UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NN:xpsobjectmodel_1.IXpsOMObjectFactory1 |
IXpsOMObjectFactory1 (xpsobjectmodel_1.h) |
Inherits from IXpsOMObjectFactory. |
|
xps\ixpsomobjectfactory1.htm |
xps |
f013e59d-83ae-453f-9cc5-9a8230729128 |
12/05/2018 |
IXpsOMObjectFactory1, IXpsOMObjectFactory1 interface [XPS Documents and Packaging], IXpsOMObjectFactory1 interface [XPS Documents and Packaging],described, xps.ixpsomobjectfactory1, xpsobjectmodel_1/IXpsOMObjectFactory1 |
xpsobjectmodel_1.h |
Windows |
Windows 8 [desktop apps \| UWP apps] |
Windows Server 2012 [desktop apps \| UWP apps] |
XpsObjectModel.idl |
None |
Windows |
19H1 |
|
|
|
|
|
|
Inherits from IXpsOMObjectFactory.
Adds support for:
Detecting the type of an XPS package.
Loading of an OpenXPS packages into an XPS object model.
Saving an in-memory XPS Object model to an OpenXPS package.
Converting HDPhoto resources into JpegXR resources.
The IXpsOMObjectFactory1 interface inherits from IXpsOMObjectFactory. IXpsOMObjectFactory1 also has these types of members:
The IXpsOMObjectFactory1 interface has these methods.
Method | Description |
---|---|
IXpsOMObjectFactory1::ConvertHDPhotoToJpegXR | Converts an image resource from an HD Photo to a JpegXR. |
IXpsOMObjectFactory1::ConvertJpegXRToHDPhoto | Converts an image resource from a JpegXR to an HD Photo. |
IXpsOMObjectFactory1::CreatePackageFromFile1 | Opens an XPS package file and returns an instantiated XPS document object tree. This method will read a file that contains an XPS document that is of type XPS_DOCUMENT_TYPE_ XPS or XPS_DOCUMENT_TYPE_ OPENXPS |
IXpsOMObjectFactory1::CreatePackageFromStream1 | Opens a stream that contains an XPS package and returns an instantiated XPS document object tree. |
IXpsOMObjectFactory1::CreatePackageWriterOnFile1 | Opens a file for writing the contents of an XPS OM to an XPS package of a specified type. This method produces a package writer for either an MSXPS document or an OpenXPS document. |
IXpsOMObjectFactory1::CreatePackageWriterOnStream1 | Opens a stream for writing the contents of an XPS OM to an XPS package of a specified type. |
IXpsOMObjectFactory1::CreatePageFromStream1 | Reads the page markup from the specified stream to create and populate an IXpsOMPage1 interface. |
IXpsOMObjectFactory1::CreateRemoteDictionaryResourceFromStream1 | Loads the remote resource dictionary markup into an unrooted IXpsOMRemoteDictionaryResource interface. The dictionary referenced by the dictionaryMarkupStream parameter can contain markup from either the OpenXPS or the MSXPS namespace. |
IXpsOMObjectFactory1::GetDocumentTypeFromFile | Detects the type of XPS document that is stored in the specified file. |
IXpsOMObjectFactory1::GetDocumentTypeFromStream | Detects the type of XPS document that is stored in the specified stream. |
The IXpsOMObjectFactory1 interface has these methods.
Method | Description |
---|---|
IXpsOMObjectFactory1::ConvertHDPhotoToJpegXR | Converts an image resource from an HD Photo to a JpegXR. |
IXpsOMObjectFactory1::ConvertJpegXRToHDPhoto | Converts an image resource from a JpegXR to an HD Photo. |
IXpsOMObjectFactory1::CreatePackageFromFile1 | Opens an XPS package file and returns an instantiated XPS document object tree. This method will read a file that contains an XPS document that is of type XPS_DOCUMENT_TYPE_ XPS or XPS_DOCUMENT_TYPE_ OPENXPS |
IXpsOMObjectFactory1::CreatePackageFromStream1 | Opens a stream that contains an XPS package and returns an instantiated XPS document object tree. |
IXpsOMObjectFactory1::CreatePackageWriterOnFile1 | Opens a file for writing the contents of an XPS OM to an XPS package of a specified type. This method produces a package writer for either an MSXPS document or an OpenXPS document. |
IXpsOMObjectFactory1::CreatePackageWriterOnStream1 | Opens a stream for writing the contents of an XPS OM to an XPS package of a specified type. |
IXpsOMObjectFactory1::CreatePageFromStream1 | Reads the page markup from the specified stream to create and populate an IXpsOMPage1 interface. |
IXpsOMObjectFactory1::CreateRemoteDictionaryResourceFromStream1 | Loads the remote resource dictionary markup into an unrooted IXpsOMRemoteDictionaryResource interface. The dictionary referenced by the dictionaryMarkupStream parameter can contain markup from either the OpenXPS or the MSXPS namespace. |
IXpsOMObjectFactory1::GetDocumentTypeFromFile | Detects the type of XPS document that is stored in the specified file. |
IXpsOMObjectFactory1::GetDocumentTypeFromStream | Detects the type of XPS document that is stored in the specified stream. |