API Help
Eplan.EplApi.HEServices Namespace / Export Class / GraphicPageEx Method / GraphicPageEx(Page,String,String,Boolean) Method
Page to be exported.
Directory to which the image files will be written. If NULL or empty, a directory specified in the schema will be used. 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.
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
    GraphicPageEx(Page,String,String,Boolean) Method
    In This Topic
    Exports a page of a project as image file. Eplan.EplApi.DataModel.Page.PageType of page can not be Eplan.EplApi.DataModel.DocumentTypeManager.DocumentType Returns the name of the created file.
    Syntax

    Parameters

    oPage
    Page to be exported.
    strImageDir
    Directory to which the image files will be written. If NULL or empty, a directory specified in the schema will be used. 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.
    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

    Name of the created file.
    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