Harness proD API Help
EPLAN.Harness.API.Projects.Documents.Camera Namespace / Camera3D Class / ZoomTo Method
Occurrences from this designer to zoom to.
In This Topic
    ZoomTo Method (Camera3D)
    In This Topic
    Zoom the camera to given occurrences.
    Syntax
    public void ZoomTo( 
       IEnumerable<I3DOccurrence> occurrences
    )

    Parameters

    occurrences
    Occurrences from this designer to zoom to.
    Exceptions
    ExceptionDescription
    Api is not in an initialized state. You can get current state from EPLAN.Harness.API.HpdApi.Status property. If API is uninitialized, you can initialize it by calling EPLAN.Harness.API.HpdApi.Init method. If API is in failed state, you can not resurrect it.
    The object is in invalid state. Obtain a new one.
    This file is not opened.
    See Also