Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Viewport Class / GetBitmapSizeToPrintInWorldUnits Method
The units of the graphics used to paint the page
The units of the model
The scale to apply to the drawing

In This Topic
    GetBitmapSizeToPrintInWorldUnits Method
    In This Topic
    Gets the size to print the viewport so that world units in the model correspond to world units on paper.
    Syntax
    'Declaration
     
    Public Function GetBitmapSizeToPrintInWorldUnits( _
       ByVal pageUnits As GraphicsUnit, _
       ByVal modelUnits As linearUnitsType, _
       ByVal scale As Double _
    ) As Size
    public Size GetBitmapSizeToPrintInWorldUnits( 
       GraphicsUnit pageUnits,
       linearUnitsType modelUnits,
       double scale
    )

    Parameters

    pageUnits
    The units of the graphics used to paint the page
    modelUnits
    The units of the model
    scale
    The scale to apply to the drawing

    Return Value

    The viewport size to use in the ViewportLayout.RenderToBitmap to print the scene so that the world units in the model correspond to world units on paper.
    Remarks
    Applies to devDept.Graphics.projectionType.Orthographic camera ProjectionMode only.
    See Also