This section describes the page-level interfaces of the XPS OM.
The page-level interfaces describe the content of a page in a document and the resources that provide that content.
| Interface name | Logical child interfaces | Description |
|---|---|---|
| IXpsOMPage | IXpsOMCanvas IXpsOMGlyphs IXpsOMPath | The root object of the page content. This object represents a document part. |
| IXpsOMVisual | IXpsOMCanvas IXpsOMGlyphs IXpsOMPath | The base class of the interfaces that define visual objects such as text and graphics. Visual objects can be collected in an IXpsOMVisualCollection interface. |
| IXpsOMCanvas | IXpsOMCanvas IXpsOMGlyphs IXpsOMPath | A collection of visual objects that can be treated as a single visual object. |
| IXpsOMGlyphs | None | Describes the text on a page. |
| IXpsOMPath | None | Describes a graphical path element. |
| IXpsOMBrush | IXpsOMSolidColorBrush IXpsOMTileBrush IXpsOMVisualBrush IXpsOMImageBrush IXpsOMGradientBrush IXpsOMLinearGradientBrush IXpsOMRadialGradientBrush | A brush is used to fill an area or the stroke of a line. |
| IXpsOMSolidColorBrush | None | Provides a solid color to fill an area or the stroke of a line. |
| IXpsOMVisualBrush | None | Provides an object such as a path, glyph, or canvas to fill an area or the stroke of a line. |
| IXpsOMImageBrush | None | Provides an image (or a partial image) to fill an area or the stroke of a line. |
| IXpsOMLinearGradientBrush | None | Provides a linear gradient to fill an area or the stroke of a line. |
| IXpsOMRadialGradientBrush | None | Provides a radial gradient to fill an area or the stroke of a line. |
| IXpsOMGradientStop | None | A single-color value and location that defines an inflection point within a linear or radial gradient. |
| IXpsOMGeometry | IXpsOMGeometryFigure | Specifies region to be used as a clipping region or as a path definition. Consists of one or more IXpsOMGeometryFigure interfaces. |
| IXpsOMGeometryFigure | None | A part of the region that is specified by an IXpsOMGeometry interface and that consists of one or more segments. |
| IXpsOMMatrixTransform | None | Specifies the affine matrix transformation to be applied to the object during rendering. |
| IXpsOMShareable | IXpsOMVisual IXpsOMMatrixTransform IXpsOMGeometry IXpsOMBrush | The base interface for interfaces that can be stored in a resource dictionary and shared. |
| IXpsOMRemoteDictionaryResource | IXpsOMDictionary | A resource dictionary contains resources that can be shared. A list of resource dictionaries can be collected into an IXpsOMRemoteDictionaryResourceCollection interface. |
| IXpsOMDictionary | None | References the resources that are shared by other objects. |
| IXpsOMStoryFragmentsResource | None | Provides access to the content of the resource stream of the StoryFragments part of the document. |
Contents
In this section:
- Working with XPS OM Canvas and Visual Interfaces contains information about the following interfaces:
- Working with XPS OM Path Interfaces contains information about the following types of interfaces:
- Working with XPS OM Text, Graphics, and Image Interfaces contains information about the following items:
- Text in an XPS OM: see Write Text to an XPS OM
- Graphics in an XPS OM: see Working with XPS OM Path Interfaces
- Images in an XPS OM: see Place Images in an XPS OM
- XPS OM Color Management
- Working with XPS OM Page Interfaces contains information about the following interfaces:
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
