Eyeshot 8.0 Documentation
LineTypePattern Property (Entity)

WinForms Assembly > devDept.Eyeshot.Entities Namespace > Entity Class : LineTypePattern Property
Gets or sets the line type pattern. In use only if the Entity.LineTypeMethod is byEntity. The pattern defines pen-up lengths (spaces), pen-down lengths (dashes), and dots. A pattern specifies the length of segments that make up the linetype. A positive decimal number specifies a pen-down (dash) segment of that length. A negative decimal number specifies a pen-up (space) segment of that length. Zero specifies a dot. For example, the DASHDOT linetype is defined by a repeating pattern starting with a dash 0.5 drawing units long, a space 0.25 drawing units long, a dot, and another space 0.25 drawing units long.
Syntax
'Declaration
 
Public Overridable Property LineTypePattern As Single()
public virtual float[] LineTypePattern {get; set;}
Remarks
When the line type pattern of an entity already added to the devDept.Eyeshot.ViewportLayout.Entities is changed, the Entity.RegenMode must be set to regenType.CompileOnly and the devDept.Eyeshot.EntityList.Regen must be called.
See Also

Reference

Entity Class
Entity Members