Pdf3dView.GetCameraToWorldTransformation Method

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

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public double[] GetCameraToWorldTransformation()
VB
Public Function GetCameraToWorldTransformation As Double()

Return Value

Type: 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 |

See Also