Table of Contents

Method GetCameraToWorldTransformation

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

GetCameraToWorldTransformation()

Gets a 3D transformation matrix specifying a position and orientation of the camera in world coordinates. Meaningful only when TransformationSource is CameraToWorld.

public double[]? GetCameraToWorldTransformation()

Returns

double[]

A 12-element array specifying 3D camera-to-world transformation matrix.

Remarks

Default value: null.

The 12-element array is the first 3 columns x 4 rows of the complete 4-by-4 matrix. The fourth column is always the same, and it is not included in the array.

| a  b  c  0 |
| d  e  f  0 | => [ a; b; c; d; e; f; g; h; i; tx; ty; tz ]
| g  h  i  0 |
| tx ty tz 1 |