Eplan Platform API
Eplan.EplApi.DataModel.E3D Namespace / Drilling Class / CreateRectangle Method / CreateRectangle(Project,Double,Double) Method
Width of the drilling. Must be greater than 0.
Height of the drilling. Must be greater than 0.

CreateRectangle(Project,Double,Double) Method
Creates new rectangle drilling in project.
Syntax
public void CreateRectangle( 
   Project pProject,
   double dWidth,
   double dHeight
)

Parameters

pProject
dWidth
Width of the drilling. Must be greater than 0.
dHeight
Height of the drilling. Must be greater than 0.
Exceptions
ExceptionDescription
Thrown when the Drilling has already been created.
Thrown if parameter pProject is null.
Thrown if size parameter isn't grater than 0.
See Also