Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Designer Class / ExportImage Method
Path to the directory where you want to save the exported image file.
Custom name of the exported image file. If not provided the name of the designer is used.
In This Topic
    ExportImage Method
    In This Topic
    Export scene to raster image.
    Syntax
    public void ExportImage( 
       string directoryPath,
       string customImageName
    )

    Parameters

    directoryPath
    Path to the directory where you want to save the exported image file.
    customImageName
    Custom name of the exported image file. If not provided the name of the designer is used.
    Exceptions
    ExceptionDescription
    Argument is null.
    Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property.
    This directory was not found.
    The exception that is thrown when the file name contains characters which are not allowed.
    See Also