Eplan Platform API
Eplan.EplApi.DataModel.Graphics Namespace / Line Class / Create Method / Create(Page,PointD,PointD) Method
Eplan.EplApi.DataModel.Page the Line will be placed on.
Eplan.EplApi.Base.PointD start point of the Line
Eplan.EplApi.Base.PointD end point of the Line

In This Topic
    Create(Page,PointD,PointD) Method
    In This Topic
    Creates the Line object.
    Syntax
    public void Create( 
       Page page,
       PointD pntStart,
       PointD pntEnd
    )
    public:
    void Create( 
       Page^ page,
       PointD pntStart,
       PointD pntEnd
    ) 

    Parameters

    page
    Eplan.EplApi.DataModel.Page the Line will be placed on.
    pntStart
    Eplan.EplApi.Base.PointD start point of the Line
    pntEnd
    Eplan.EplApi.Base.PointD end point of the Line
    Exceptions
    ExceptionDescription
    Thrown when page is null.
    Thrown when the Line cannot be created.
    Thrown when the Line has already been created.
    Thrown when given Eplan.EplApi.DataModel.Page has PageType sets to ExternalDocument.
    See Also