Share via


Méthode IXpsOMMatrixTransform ::GetMatrix (xpsobjectmodel.h)

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

Syntaxe

HRESULT GetMatrix(
  [out, retval] XPS_MATRIX *matrix
);

Paramètres

[out, retval] matrix

Adresse d’une variable qui reçoit la structure XPS_MATRIX .

Valeur retournée

Cette méthode retourne un code HRESULT. Les valeurs possibles incluent, sans s’y limiter, celles du tableau qui suit. Pour plus d’informations sur les valeurs de retour de l’API de document XPS qui ne sont pas répertoriées dans ce tableau, consultez Erreurs de document XPS.

Code de retour Description
S_OK
S_OK
E_POINTER
la matrice a la valeur NULL.

Configuration requise

Condition requise Valeur
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 Platform Update pour Windows Server 2008 [applications de bureau | Applications UWP]
Plateforme cible Windows
En-tête xpsobjectmodel.h

Voir aussi

IXpsOMMatrixTransform

XML Paper Specification

Erreurs de document XPS

XPS_MATRIX