API Help
Eplan.EplApi.HEServices Namespace / Export Class / GraphicProjectEx Method / GraphicProjectEx(String,String,String,Boolean) Method
Full link file name of the 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(String,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

    strFullLinkFileName
    Full link file name of the project to be exported.
    strImagePath
    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.
    strSchemeName
    Name of the configuration scheme to use during the export.
    bBlackAndWhite
    If 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.
    Remarks
    The project "strFullLinkFileName" may be open in EPLAN or not. If the project was not already open, it will be opened and after the export it will be closed again.
    See Also