Eplan Platform API
Eplan.EplApi.HEServices Namespace / Edit Class / OpenPageWithNameAndDeviceName Method
Full link file name of the project.
Name of a function.

In This Topic
    OpenPageWithNameAndDeviceName Method
    In This Topic
    Opens the page with the name passed to strPageName and select the function whose name passed to strDeviceName. The function is selected in the graphic editor. If no function with name strDeviceName was found on the page, so no element will be selected. But the page will be still opened.
    Syntax
    public void OpenPageWithNameAndDeviceName( 
       string strFullLinkFileName,
       string strPageName,
       string strDeviceName
    )
    public:
    void OpenPageWithNameAndDeviceName( 
       String^ strFullLinkFileName,
       String^ strPageName,
       String^ strDeviceName
    ) 

    Parameters

    strFullLinkFileName
    Full link file name of the project.
    strPageName
    strDeviceName
    Name of a function.
    Exceptions
    ExceptionDescription
    Is thrown in case of invalid \parameters.
    The graphics editor interface could not be created.
    Remarks
    The given function can be a main function (motor,...), a device with index (plug, PLC connection,...) or an interruption point. On a given page only the first found function will be selected, if one found. The method does not work if a function has graphic or external representation type.
    See Also