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