Pdf3dView.SetCameraToWorldTransformation Method

Sets 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 void SetCameraToWorldTransformation(
	double[] cameraToWorldTransformation
)
VB
Public Sub SetCameraToWorldTransformation ( 
	cameraToWorldTransformation As Double()
)

Parameters

cameraToWorldTransformation
Type: System.Double[]
A 12-element array specifying 3D camera-to-world transformation matrix. Must not be null when TransformationSource is CameraToWorld.

Remarks

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, it gets added implicitly.

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

See Also