Viewport.GetBitmapSizeToPrintInWorldUnits Method

Gets the size to print the viewport so that world units in the model correspond to world units on paper.
Public Function GetBitmapSizeToPrintInWorldUnits( _ 
ByVal pageUnits As GraphicsUnit, _ 
ByVal modelUnits As linearUnitsType, _ 
ByVal scale As Double
) As Size
This language is not supported or no code example is available.
public Size GetBitmapSizeToPrintInWorldUnits( 
GraphicsUnit pageUnits
linearUnitsType modelUnits
double scale 
)
This language is not supported or no code example is available.

Parameters

pageUnits
GraphicsUnit

The units of the graphics used to paint the page

modelUnits
linearUnitsType

The units of the model

scale
double

The scale to apply to the drawing

Return Value

Size

The viewport size to use in the Environment.RenderToBitmap to print the scene so that the world units in the model correspond to world units on paper.

Remarks
 
Applies to projectionType.Orthographic camera ProjectionMode only.

.NET Framework

Supported in: 4.8

In this article

Definition