Eplan Platform API
Eplan.EplApi.HEServices Namespace / Export Class / GraphicProjectEx Method / GraphicProjectEx(Project,String,String,Boolean) Method
Project to be exported.
Directory to which the image files will be written. If the folder does not exist, it will be created. If the user does not have the necessary rights to access the file system, an exception will be thrown. A sub\-folder named after the project will be created in which the images will be stored.
Name of the configuration scheme to use during the export.
If set to true b/w images will be created. This does not influence the image format or the image size.

In This Topic
    GraphicProjectEx(Project,String,String,Boolean) Method
    In This Topic
    Exports a complete project as image files but instead of pages which Eplan.EplApi.DataModel.Page.PageType is Eplan.EplApi.DataModel.DocumentTypeManager.DocumentType Returns an array of strings containing names of the created files.
    Syntax

    Parameters

    Parameter NameDescription
    oProjectProject to be exported.
    strImagePathDirectory to which the image files will be written. If the folder does not exist, it will be created. If the user does not have the necessary rights to access the file system, an exception will be thrown. A sub\-folder named after the project will be created in which the images will be stored.
    strSchemeNameName of the configuration scheme to use during the export.
    bBlackAndWhiteIf set to true b/w images will be created. This does not influence the image format or the image size.

    Return Value

    An array of strings containing names of the created files.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid arguments.
    No user rights to create files on the file system.
    The internal interface for image export could not be created.
    Errors occurred during export. See the exception message for details.
    See Also