Click or drag to resize

AnnotationBaseGetDimensionScale Method

Get view dependent dimension scale

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public static double GetDimensionScale(
	RhinoDoc doc,
	DimensionStyle dimstyle,
	RhinoViewport vport
)

Parameters

doc
Type: RhinoRhinoDoc

[Missing <param name="doc"/> documentation for "M:Rhino.Geometry.AnnotationBase.GetDimensionScale(Rhino.RhinoDoc,Rhino.DocObjects.DimensionStyle,Rhino.Display.RhinoViewport)"]

dimstyle
Type: Rhino.DocObjectsDimensionStyle

[Missing <param name="dimstyle"/> documentation for "M:Rhino.Geometry.AnnotationBase.GetDimensionScale(Rhino.RhinoDoc,Rhino.DocObjects.DimensionStyle,Rhino.Display.RhinoViewport)"]

vport
Type: Rhino.DisplayRhinoViewport

[Missing <param name="vport"/> documentation for "M:Rhino.Geometry.AnnotationBase.GetDimensionScale(Rhino.RhinoDoc,Rhino.DocObjects.DimensionStyle,Rhino.Display.RhinoViewport)"]

Return Value

Type: Double

[Missing <returns> documentation for "M:Rhino.Geometry.AnnotationBase.GetDimensionScale(Rhino.RhinoDoc,Rhino.DocObjects.DimensionStyle,Rhino.Display.RhinoViewport)"]

See Also