Harness proD API Help
EPLAN.Harness.API.DataStructures.DisplayConfigurations Namespace / DisplayConfigurationsController<T> Class / DeleteDisplayConfiguration Method
Display configuration to delete.
In This Topic
    DeleteDisplayConfiguration Method
    In This Topic
    Delete selected display configuration.
    Syntax
    public bool DeleteDisplayConfiguration( 
       T displayConfiguration
    )

    Parameters

    displayConfiguration
    Display configuration to delete.

    Return Value

    True if displayConfiguration is successfully deleted, otherwise False.
    Exceptions
    ExceptionDescription
    Argument is null.
    Thrown when you tried to delete the last one display configuration. Project must contain at least one display configuration for each type of drawing.
    The exception that is thrown when no project is open.
    Remarks
    The last display configuration cannot be deleted. Project must contain at least one display configuration for each type of drawing.
    See Also