IXpsOMPath interface (xpsobjectmodel.h)

Describes a non-text visual item.

Inheritance

The IXpsOMPath interface inherits from IXpsOMVisual. IXpsOMPath also has these types of members:

Methods

The IXpsOMPath interface has these methods.

 
IXpsOMPath::Clone

Makes a deep copy of the interface. (IXpsOMPath.Clone)
IXpsOMPath::GetAccessibilityLongDescription

Gets the long (detailed) textual description of the object's contents. (IXpsOMPath.GetAccessibilityLongDescription)
IXpsOMPath::GetAccessibilityShortDescription

Gets the short textual description of the object's contents.
IXpsOMPath::GetFillBrush

Gets a pointer to the resolved IXpsOMBrush interface that contains the fill brush for the path.
IXpsOMPath::GetFillBrushLocal

Gets a pointer to the local, unshared IXpsOMBrush interface that contains the fill brush for the path.
IXpsOMPath::GetFillBrushLookup

Gets the lookup key of the brush that is stored in a resource dictionary and used as the fill brush for the path.
IXpsOMPath::GetGeometry

Gets a pointer to the path's IXpsOMGeometry interface, which describes the resolved fill area for this path.
IXpsOMPath::GetGeometryLocal

Gets the local, unshared geometry of the resolved fill area for this path.
IXpsOMPath::GetGeometryLookup

Gets the lookup key of a shared geometry object that is stored in a resource dictionary and that describes the resolved fill area for this path.
IXpsOMPath::GetSnapsToPixels

Gets a Boolean value that indicates whether the path is to be snapped to device pixels when the path is rendered.
IXpsOMPath::GetStrokeBrush

Gets a pointer to the resolved IXpsOMBrush interface that contains the stroke brush that has been set for the path.
IXpsOMPath::GetStrokeBrushLocal

Gets a pointer to the local, unshared IXpsOMBrush interface that contains the stroke brush for the path.
IXpsOMPath::GetStrokeBrushLookup

Gets the lookup key of the brush that is stored in a resource dictionary and is to be used as the stroke brush for the path.
IXpsOMPath::GetStrokeDashCap

Gets the style of the end cap to be used on the stroke dash.
IXpsOMPath::GetStrokeDashes

Gets a pointer to the IXpsOMDashCollection interface that contains the XPS_DASH structures that define the dash pattern of the stroke.
IXpsOMPath::GetStrokeDashOffset

Gets the offset from the origin of the stroke to the starting point of the dash array pattern.
IXpsOMPath::GetStrokeEndLineCap

Gets the style of the stroke line's end cap.
IXpsOMPath::GetStrokeLineJoin

Gets the style for joining stroke lines.
IXpsOMPath::GetStrokeMiterLimit

Gets the miter limit value that is set for the stroke.
IXpsOMPath::GetStrokeStartLineCap

Gets the style of the line cap at the start of the stroke line.
IXpsOMPath::GetStrokeThickness

Gets the stroke thickness.
IXpsOMPath::SetAccessibilityLongDescription

Sets the long (detailed) textual description of the object's contents. (IXpsOMPath.SetAccessibilityLongDescription)
IXpsOMPath::SetAccessibilityShortDescription

Sets the short textual description of the object's contents. (IXpsOMPath.SetAccessibilityShortDescription)
IXpsOMPath::SetFillBrushLocal

Sets the pointer to the local, unshared IXpsOMBrush interface to be used as the fill brush.
IXpsOMPath::SetFillBrushLookup

Sets the lookup key name of a shared brush in a resource dictionary, to be used as the fill brush.
IXpsOMPath::SetGeometryLocal

Sets the pointer to the local, unshared IXpsOMGeometry interface that contains the geometry of the resolved fill area to be set for this path.
IXpsOMPath::SetGeometryLookup

Sets the lookup key name of a shared geometry in a resource dictionary.
IXpsOMPath::SetSnapsToPixels

Sets a Boolean value that indicates whether the path will be snapped to device pixels when that path is being rendered.
IXpsOMPath::SetStrokeBrushLocal

Sets a pointer to a local, unshared IXpsOMBrush interface to be used as a stroke brush.
IXpsOMPath::SetStrokeBrushLookup

Sets the lookup key name of a shared brush to be used as the stroke brush.
IXpsOMPath::SetStrokeDashCap

Sets the style of the stroke's dash cap.
IXpsOMPath::SetStrokeDashOffset

Sets the offset from the origin of the stroke to the starting point of the dash array pattern.
IXpsOMPath::SetStrokeEndLineCap

Sets the style of the stroke line's end cap.
IXpsOMPath::SetStrokeLineJoin

Sets the style for joining stroke lines.
IXpsOMPath::SetStrokeMiterLimit

Sets the miter limit of the path.
IXpsOMPath::SetStrokeStartLineCap

Sets the style of the stroke's line cap at the start of the stroke line.
IXpsOMPath::SetStrokeThickness

Sets the stroke thickness.

Remarks

The code example that follows illustrates how to create an instance of this interface.


IXpsOMPath    *newInterface;

// Note the implicit requirement that CoInitializeEx 
//  has previously been called from this thread.

hr = CoCreateInstance(
    __uuidof(XpsOMObjectFactory),
    NULL,
    CLSCTX_INPROC_SERVER,
    _uuidof(IXpsOMObjectFactory),
    reinterpret_cast<LPVOID*>(&xpsFactory)
    );

if (SUCCEEDED(hr))
{
    hr = xpsFactory->CreatePath (&newInterface);

    if (SUCCEEDED(hr))
    {
        // use newInterface

        newInterface->Release();
    }
    xpsFactory->Release();
}
else
{
    // evaluate HRESULT error returned in hr
}

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header xpsobjectmodel.h

See also

IXpsOMObjectFactory::CreatePath

IXpsOMVisual

Interfaces

XML Paper Specification