共用方式為


IXpsOMVisual interface

The base interface for path, canvas, and glyph interfaces.

When to implement

Never. Custom implementation of this interface is not supported.

Members

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

  • Methods

Methods

The IXpsOMVisual interface has these methods.

Method Description
GetClipGeometry

Gets a pointer to the IXpsOMGeometry interface that contains the resolved geometry of the visual's clipping region.

GetClipGeometryLocal

Gets a pointer to the IXpsOMGeometry interface that contains the local, unshared geometry of the visual's clipping region.

GetClipGeometryLookup

Gets the lookup key for the IXpsOMGeometry interface in a resource dictionary that contains the visual's clipping region.

GetHyperlinkNavigateUri

Gets a pointer to the IUri interface to which this visual object links.

GetIsHyperlinkTarget

Gets a value that indicates whether the visual is the target of a hyperlink.

GetLanguage

Gets the Language property of the visual and of its contents.

GetName

Gets the Name property of the visual.

GetOpacity

Gets the opacity value of this visual.

GetOpacityMaskBrush

Gets a pointer to the IXpsOMBrush interface of the visual's opacity mask brush.

GetOpacityMaskBrushLocal

Gets the local, unshared opacity mask brush for the visual.

GetOpacityMaskBrushLookup

Gets the name of the lookup key of the shared opacity mask brush in a resource dictionary.

GetTransform

Gets a pointer to the IXpsOMMatrixTransform interface that contains the visual's resolved matrix transform.

GetTransformLocal

Gets a pointer to the IXpsOMMatrixTransform interface that contains the local, unshared, resolved matrix transform for the visual.

GetTransformLookup

Gets the lookup key name of the IXpsOMMatrixTransform interface in a resource dictionary that contains the resolved matrix transform for the visual.

SetClipGeometryLocal

Sets the local, unshared clipping region for the visual.

SetClipGeometryLookup

Sets the lookup key name of a shared clip geometry in a resource dictionary.

SetHyperlinkNavigateUri

Sets the destination URI of the visual's hyperlink.

SetIsHyperlinkTarget

Specifies whether the visual is the target of a hyperlink.

SetLanguage

Sets the Language property of the visual.

SetName

Sets the Name property of the visual.

SetOpacity

Sets the opacity value of the visual.

SetOpacityMaskBrushLocal

Sets the IXpsOMBrush interface pointer as the local, unshared opacity mask brush.

SetOpacityMaskBrushLookup

Sets the lookup key name of a shared opacity mask brush in a resource dictionary.

SetTransformLocal

Sets the local, unshared matrix transform.

SetTransformLookup

Sets the lookup key name of a shared matrix transform in a resource dictionary.

 

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

IXpsOMShareable

IXpsOMCanvas

IXpsOMGlyphs

IXpsOMPath

Interfaces

XML Paper Specification