Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Drawing2D Class / CreateLine Method
Position of the first point.
Position of the second point.
In This Topic
    CreateLine Method
    In This Topic
    Creates a line between two specified points.
    Syntax

    Parameters

    point1
    Position of the first point.
    point2
    Position of the second point.

    Return Value

    Created occurrence.
    Exceptions
    ExceptionDescription
    The object is in invalid state. Obtain a new one.

    Internal error of HpD or HpD API.

    IMPORTANT: Throwing this exception changes HpD Api's state to Failed.

    Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property.
    Argument is null.
    See Also