Click or drag to resize

GeometryHandlerOnBeginText Method

Describes text presented on the page

Namespace:  Atalasoft.Imaging.Codec.CadCam
Assembly:  Atalasoft.dotImage.Dwg (in Atalasoft.dotImage.Dwg.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public virtual DwgReduction OnBeginText(
	int shapeId,
	double[] position,
	double[] directionVector,
	double[] upVector,
	string msg,
	bool raw,
	DwgTextStyle textStyle,
	double[] extrusionVector
)

Parameters

shapeId
Type: SystemInt32
A unique identifier for this shape. When Distill is done reducing a shape, OnEnd... will be called with this shape identifier.
position
Type: SystemDouble
The location of the text on the sheet.
directionVector
Type: SystemDouble
The direction of the text flow
upVector
Type: SystemDouble
The up vector specifying orientation along the direction vector
msg
Type: SystemString

The text to render

raw
Type: SystemBoolean
Indicates whether or not DWG escape sequences have been expanded.
textStyle
Type: Atalasoft.Imaging.Codec.CadCamDwgTextStyle

Styling information, including the Font

extrusionVector
Type: SystemDouble
A vector describing direction and length of how this object should be extruded.

Return Value

Type: DwgReduction
Return DwgReduction.Reduce to request that the shape should be reduced further, DwgReduction.DontReduce otherwise.
Remarks
If this method returns false, text will be reduced to polylines and polygons
See Also