This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 411
d02e9ac9 c584 33e5 5207 85b0da7ecbfa
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Initializes a new instance of the LinetypeShapeSegment
class.
Namespace: netDxf.Tables
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public LinetypeShapeSegment(
string name,
ShapeStyle style,
double length
)
VB
Public Sub New (
name As String,
style As ShapeStyle,
length As Double
)
C++
public:
LinetypeShapeSegment(
String^ name,
ShapeStyle^ style,
double length
)
F#
new :
name : string *
style : ShapeStyle *
length : float -> LinetypeShapeSegment
- String
- Shape name of the linetype segment.
- ShapeStyle
- File where the shape of the linetype segment is defined.
- Double
- Dash, dot, or space length of the linetype segment.
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.
LinetypeShapeSegment Class
LinetypeShapeSegment Overload
netDxf.Tables Namespace