Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / Matrix4x4 Structure / Orthographic Method
The width of the view volume.
The height of the view volume.
The minimum Z-value of the view volume.
The maximum Z-value of the view volume.

In This Topic
    Orthographic Method
    In This Topic
    Creates an orthographic perspective matrix from the given view volume dimensions.
    Syntax
    'Declaration
     
    Public Shared Function Orthographic( _
       ByVal width As System.Single, _
       ByVal height As System.Single, _
       ByVal zNearPlane As System.Single, _
       ByVal zFarPlane As System.Single _
    ) As Matrix4x4
    public static Matrix4x4 Orthographic( 
       System.float width,
       System.float height,
       System.float zNearPlane,
       System.float zFarPlane
    )

    Parameters

    width
    The width of the view volume.
    height
    The height of the view volume.
    zNearPlane
    The minimum Z-value of the view volume.
    zFarPlane
    The maximum Z-value of the view volume.

    Return Value

    The orthographic projection matrix.
    See Also