Viewport.GetBitmapSizeToPrintInWorldUnits Method
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
SizeThe 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.
Applies to projectionType.Orthographic camera ProjectionMode only.