API Reference

Detailed and full API reference helps you master Tekla development

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: 2023.0.1
public abstract class LineTypes : IIsEqual, 

The LineTypes type exposes the following members.

Public methodClone
Creates a new object that is a copy of the current instance.
Public methodStatic memberCustom
The Custom line type defines a line that is drawn using one of the custom line types, as specified by the CustomLineTypeName.
Public methodEquals
Returns true if the current object and the given object are equal.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns a hash code for the object.
(Overrides ObjectGetHashCode.)
Public methodIsEqual
Compares the current object with an object of the same type.
Public methodToString
Returns the LineTypes information as a string.
(Overrides ObjectToString.)
Public operatorStatic memberEquality
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 memberInequality
Returns true if the current object and the given object are not equal.
Public fieldStatic memberDashDot
The dash dotted line (--.--.).
Public fieldStatic memberDashDoubleDot
The dash double dotted line (-..-..-).
Public fieldStatic memberDashedLine
The dashed line (-----).
Public fieldStatic memberDottedLine
The dotted line (.....).
Public fieldStatic memberSlashDash
The slash dash line (-- - -- -).
Public fieldStatic memberSlashedLine
The slashed line (- - -).
Public fieldStatic memberSolidLine
The solid line (default).
Public fieldStatic memberUndefinedLine
The line type is undefined.
See Also