Tekla Open API

Detailed and full API reference helps you master Tekla Open API

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

LineTypes Class

The LineTypes class defines the possible line types that can be used by the drawing objects.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2018.1.0.0 (2018.1.0.0)
Syntax
[SerializableAttribute]
public abstract class LineTypes : IIsEqual, 
	ICloneable

The LineTypes type exposes the following members.

Methods
  Name Description
Public method Clone
Creates a new object that is a copy of the current instance.
Public methodStatic member Custom
The Custom line type defines a line that is drawn using one of the custom line types, as specified by the CustomLineTypeName.
Public method Equals
Returns true if the current object and the given object are equal.
(Overrides ObjectEquals(Object).)
Public method GetHashCode
Returns a hash code for the object.
(Overrides ObjectGetHashCode.)
Public method IsEqual
Compares the current object with an object of the same type.
Public method ToString
Returns the LineTypes information as a string.
(Overrides ObjectToString.)
Top
Operators
  Name Description
Public operatorStatic member Equality
Returns true if the current object and the given object are equal.
Public operatorStatic member (Int32 to LineTypes)
Returns the corresponding LineTypes value of the given int value.
Public operatorStatic member (LineTypes to Int32)
Returns the corresponding int value of the given LineTypes value.
Public operatorStatic member Inequality
Returns true if the current object and the given object are not equal.
Top
Fields
  Name Description
Public fieldStatic member DashDot
The dash dotted line (--.--.).
Public fieldStatic member DashDoubleDot
The dash double dotted line (-..-..-).
Public fieldStatic member DashedLine
The dashed line (-----).
Public fieldStatic member DottedLine
The dotted line (.....).
Public fieldStatic member SlashDash
The slash dash line (-- - -- -).
Public fieldStatic member SlashedLine
The slashed line (- - -).
Public fieldStatic member SolidLine
The solid line (default).
Public fieldStatic member UndefinedLine
The line type is undefined.
Top
See Also