Technical Reference > Graphics Builder Automation Interface > Object Drawing and Property Functions > AttributeTransformationMatrixGet

AttributeTransformationMatrixGet

Reads the elements of the transformation matrix. If A and D are both 1, and others are 0, the object is not transformed (identity matrix).

This function applies to the selected object, which is typically the last placed object. By using the PageSelectFirstObject() and PageSelectNextObject() functions, you can access your objects and change or read their properties.

Syntax

AttributeTransformationMatrixGet(A, B, C, D, H, K)

A:

Element A of the transformation matrix

B:

Element A of the transformation matrix

C:

Element A of the transformation matrix

D:

Element A of the transformation matrix

H:

Element A of the transformation matrix

K:

Element A of the transformation matrix

Return Value

The elements of the transformation matrix. If values are out of range on writing to the attribute, the function will exit and report the error E_INVALIDARG. If there is no active object, they will exit and report a return value of E_HANDLE.

Note: For details on handling return and error values, see Error Handling.

Related Functions

AttributeTransformationMatrixPut