IXpsOMObjectFactory interface

Creates objects in the XPS document object model.

When to implement

Never. Custom implementation of this interface is not supported.

Members

The IXpsOMObjectFactory interface inherits from the IUnknown interface. IXpsOMObjectFactory also has these types of members:

  • Methods

Methods

The IXpsOMObjectFactory interface has these methods.

Method Description
CreateCanvas

Creates an IXpsOMCanvas interface that is used to group page elements.

CreateColorProfileResource

Creates an IXpsOMColorProfileResource interface, which is used to access a color profile resource stream.

CreateCoreProperties

Creates an IXpsOMCoreProperties interface, which contains the metadata that describes an XPS document.

CreateDictionary

Creates an IXpsOMDictionary interface, which enables the sharing of property resources.

CreateDocument

Creates an IXpsOMDocument interface, which can contain a set of IXpsOMPageReference interfaces in an ordered sequence.

CreateDocumentSequence

Creates an IXpsOMDocumentSequence interface, which can contain the IXpsOMDocument interfaces of the XPS document.

CreateDocumentStructureResource

Creates an IXpsOMDocumentStructureResource interface, which provides access to the document structure resource stream.

CreateFontResource

Creates an IXpsOMFontResource interface, which provides an IStream interface to the font resource.

CreateGeometry

Creates an IXpsOMGeometry interface, which specifies the shape of a path or of a clipping region.

CreateGeometryFigure

Creates an IXpsOMGeometryFigure interface, which specifies a portion of an object that is defined by an IXpsOMGeometry interface.

CreateGlyphs

Creates an IXpsOMGlyphs interface, which specifies text that appears on a page.

CreateGradientStop

Creates an IXpsOMGradientStop interface to represent a single color and location definition within a gradient.

CreateImageBrush

Creates an IXpsOMImageBrush interface.

CreateImageResource

Creates an IXpsOMImageResource interface, which is used to access an image resource stream.

CreateLinearGradientBrush

Creates an IXpsOMLinearGradientBrush interface.

CreateMatrixTransform

Creates an IXpsOMMatrixTransform interface that specifies an affine matrix transform.

CreatePackage

Creates an IXpsOMPackage interface that serves as the root node of an XPS object model document tree.

CreatePackageFromFile

Opens an XPS package file and returns an instantiated XPS document object tree.

CreatePackageFromStream

Opens a stream that contains an XPS package, and returns an instantiated XPS document object tree.

CreatePackageWriterOnFile

Opens a file for writing the contents of an XPS OM to an XPS package.

CreatePackageWriterOnStream

Opens a stream for writing the contents of an XPS OM to an XPS package.

CreatePage

Creates an IXpsOMPage interface, which provides the root node of a tree of objects that represent the contents of a single page.

CreatePageFromStream

Reads the page markup from the specified stream to create and populate an IXpsOMPage interface.

CreatePageReference

Creates an IXpsOMPageReference interface that enables the virtualization of pages.

CreatePartResources

Creates an IXpsOMPartResources interface that can contain part-based resources.

CreatePartUri

Creates an IOpcPartUri interface that uses the specified URI.

CreatePartUriCollection

Creates an IXpsOMPartUriCollection interface that can contain IOpcPartUri interface pointers.

CreatePath

Creates an IXpsOMPath interface that specifies a graphical path element on a page.

CreatePrintTicketResource

Creates an IXpsOMPrintTicketResource interface that enables access to a PrintTicket stream.

CreateRadialGradientBrush

Creates an IXpsOMRadialGradientBrush interface.

CreateReadOnlyStreamOnFile

Creates a read-only IStream over the specified file.

CreateRemoteDictionaryResource

Creates an IXpsOMRemoteDictionaryResource interface that enables the sharing of property resources.

CreateRemoteDictionaryResourceFromStream

Loads the remote resource dictionary markup into an unrooted IXpsOMRemoteDictionaryResource interface.

CreateSignatureBlockResource

Creates an IXpsOMSignatureBlockResource that can contain one or more signature requests.

CreateSolidColorBrush

Creates an IXpsOMSolidColorBrush interface, which specifies a brush of a single, solid color.

CreateStoryFragmentsResource

Creates an IXpsOMStoryFragmentsResource interface that provides access to the story fragments resource stream.

CreateVisualBrush

Creates an IXpsOMVisualBrush interface, which is an IXpsOMTileBrush that uses a visual object.

 

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

Xpsobjectmodel.h

IDL

XpsObjectModel.idl

See also

Interfaces

Initialize an XPS OM

IXpsDocumentPackageTarget::GetXpsOMFactory

XML Paper Specification