Click or drag to resize

LinetypeShapeSegment Constructor (String, ShapeStyle)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Initializes a new instance of the LinetypeShapeSegment class.

Namespace:  netDxf.Tables
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public LinetypeShapeSegment(
	string name,
	ShapeStyle style
)
Request Example View Source

Parameters

name
Type: SystemString
Shape name of the linetype segment.
style
Type: netDxf.TablesShapeStyle
File where the shape of the linetype segment is defined.
Remarks
The shape must be defined in the .shx shape definitions file.
The dxf instead of saving the shape name, as the Shape entity or the shape linetype segments definition in a .lin file, it stores the shape number. Therefore when saving a dxf file the shape number will be obtained reading the .shp file.
It is required that the equivalent .shp file to be also present in the same folder or one of the support folders defined in the DxfDocument.
See Also