Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Drawing2D Class / CreateCircle Method / CreateCircle(Transform2DProperty<LengthProperty>,LengthProperty) Method
Center of the circle
Radius
In This Topic
    CreateCircle(Transform2DProperty<LengthProperty>,LengthProperty) Method
    In This Topic
    Creates a circle specified by center and radius.
    Syntax

    Parameters

    center
    Center of the circle
    radius
    Radius

    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.
    Remarks
    Radius must be a positive number.
    See Also