Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IXpsOMVisual::SetTransformLocal method

Sets the local, unshared matrix transform.

Syntax


HRESULT SetTransformLocal(
  [in] IXpsOMMatrixTransform *matrixTransform
);

Parameters

matrixTransform [in]

A pointer to the IXpsOMMatrixTransform interface to be set as the local, unshared matrix transform. A NULL pointer releases the previously assigned transform.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the table that follows. For information about XPS document API return values that are not listed in this table, see XPS Document Errors.

Return codeDescription
S_OK

The method succeeded.

XPS_E_NO_CUSTOM_OBJECTS

matrixTransform does not point to a recognized interface implementation. Custom implementation of XPS Document API interfaces is not supported.

 

Remarks

After you call SetTransformLocal, the transform lookup key is released and GetTransformLookup returns a NULL pointer in the key parameter. The table that follows explains the relationship between the local and lookup values of this property.

Most recent method calledObject that is returned in transform by GetTransform Object that is returned in matrixTransform by GetTransformLocal Object that is returned in key by GetTransformLookup

SetTransformLocal (this method)

The local transform that is set by SetTransformLocal.

The local transform set by SetTransformLocal.

NULL pointer.

SetTransformLookup

The shared transform that gets retrieved, with a lookup key that matches the key that is set by SetTransformLookup, from the resource directory.

NULL pointer.

The lookup key that is set by SetTransformLookup.

Neither SetTransformLocal nor SetTransformLookup has been called yet.

NULL pointer.

NULL pointer.

NULL pointer.

 

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

IXpsOMVisual
XPS Document Errors
XML Paper Specification

 

 

Show:
© 2017 Microsoft