|  Line  | 
 Represents a segment in a line pattern. 
  Inheritance Hierarchy
 Inheritance Hierarchy  Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
 Syntax
 Syntax  The LinePatternSegment type exposes the following members.
 Constructors
 Constructors  | Name | Description | |
|---|---|---|
|   | LinePatternSegment | Creates a line pattern segment. | 
|   | LinePatternSegment(LinePatternSegmentType, Double) | Creates a line pattern segment with given type and length. | 
 Properties
 Properties  | Name | Description | |
|---|---|---|
|   | IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | 
|   | Length | Gets and sets the length of the segment. | 
|   | Type | Gets and sets the type of the segment. | 
 Methods
 Methods  | Name | Description | |
|---|---|---|
|   | Dispose | Releases all resources used by the LinePatternSegment | 
|   | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) | 
|   | GetHashCode | Serves as the default hash function. (Inherited from Object ) | 
|   | GetType | Gets the  Type  of the current instance. (Inherited from Object ) | 
|   | ToString | Returns a string that represents the current object. (Inherited from Object ) | 
 See Also
 See Also