Interface IXpsOMMatrixTransform (xpsobjectmodel.h)

Spécifie une transformation de matrice affine qui peut être appliquée à d’autres objets dans le modèle objet.

Héritage

L’interface IXpsOMMatrixTransform hérite d’IXpsOMShareable. IXpsOMMatrixTransform a également les types de membres suivants :

Méthodes

L’interface IXpsOMMatrixTransform possède ces méthodes.

 
IXpsOMMatrixTransform ::Clone

Effectue une copie approfondie de l’interface. (IXpsOMMatrixTransform.Clone)
IXpsOMMatrixTransform ::GetMatrix

Obtient la structure XPS_MATRIX, qui spécifie la matrice de transformation.
IXpsOMMatrixTransform ::SetMatrix

Définit la structure XPS_MATRIX, qui spécifie la matrice de transformation.

Remarques

L’exemple de code qui suit montre comment créer un instance de cette interface.


IXpsOMMatrixTransform    *newInterface;
// The following value is defined outside of 
// this example.
XPS_MATRIX        newMatrix;

// 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->CreateMatrixTransform (
        &newMatrix,
        &newInterface);

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

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

Configuration requise

   
Client minimal pris en charge Windows 7, Windows Vista avec SP2 et Mise à jour de plateforme pour Windows Vista [applications de bureau | Applications UWP]
Serveur minimal pris en charge Windows Server 2008 R2, Windows Server 2008 avec SP2 et Mise à jour de plateforme pour Windows Server 2008 [applications de bureau | Applications UWP]
Plateforme cible Windows
En-tête xpsobjectmodel.h

Voir aussi

IXpsOMObjectFactory ::CreateMatrixTransform

IXpsOMShareable

Interfaces

XML Paper Specification

XPS_MATRIX