TextEntityCreateExtrusions Method (DimensionStyle, Double, Double, Double) |
Creates extrusions from the outline curves with specified height.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntaxpublic Extrusion[] CreateExtrusions(
DimensionStyle dimstyle,
double height,
double smallCapsScale = 1,
double spacing = 0
)
Public Function CreateExtrusions (
dimstyle As DimensionStyle,
height As Double,
Optional smallCapsScale As Double = 1,
Optional spacing As Double = 0
) As Extrusion()
Parameters
- dimstyle
- Type: Rhino.DocObjectsDimensionStyle
The dimension style used to evaluate the text. - height
- Type: SystemDouble
Height in direction perpendicular to plane of text. - smallCapsScale (Optional)
- Type: SystemDouble
Scale factor for drawing lower case letters as small caps, relative to the text height. Use 1.0 for no small caps. - spacing (Optional)
- Type: SystemDouble
Set to add additional spacing between glyph output.
Return Value
Type:
ExtrusionAn array of extrusions.
See Also