Camera.GetFocalLengthFromFieldOfView (Double, Size2D) Method

Gets the focal length from the vertical field of view and the camera film frame.
Public Shared Function GetFocalLengthFromFieldOfView( _ 
ByVal fovInDegrees As Double, _ 
ByVal frame As Size2D
) As Double
This language is not supported or no code example is available.
public static double GetFocalLengthFromFieldOfView( 
double fovInDegrees
Size2D frame 
)
This language is not supported or no code example is available.

Parameters

fovInDegrees
double

The vertical field of view

frame
Size2D

THe size of the camera film frame

Return Value

double

The corresponding focal length, relative to the frame size.

.NET Framework

Supported in: 4.8

In this article

Definition