API Help
Eplan.EplApi.DataModel Namespace / Page Class / SetProject Method
A project the page is assigned to.

SetProject Method (Page)
Assigns a page to a given project.
Syntax
public void SetProject( 
   Project pProject
)

Parameters

pProject
A project the page is assigned to.
Exceptions
ExceptionDescription
Thrown when pProject is null.
Thrown when no new logical page can be added to the project.
Remarks
The page becomes not transient. If the page was previously assigned to another project, it is removed from old one and assigned to the project given as an argument.
See Also