Click or drag to resize

DimensionGetTextTransform Method

Get the transform for this text object's text geometry

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Transform GetTextTransform(
	ViewportInfo viewport,
	DimensionStyle style,
	double textScale,
	bool drawForward
)

Parameters

viewport
Type: Rhino.DocObjectsViewportInfo
Viewport where text is being used
style
Type: Rhino.DocObjectsDimensionStyle
Dimension's DimensionStyle
textScale
Type: SystemDouble
Scale to apply to text
drawForward
Type: SystemBoolean
Draw text front-facing

Return Value

Type: Transform

[Missing <returns> documentation for "M:Rhino.Geometry.Dimension.GetTextTransform(Rhino.DocObjects.ViewportInfo,Rhino.DocObjects.DimensionStyle,System.Double,System.Boolean)"]

See Also