API Help
Eplan.EplApi.HEServices Namespace / Export Class / DxfDwgPages Method / DxfDwgPages(ArrayList,String,String) Method
A pages to be exported.
Settings scheme to use.
Specifies the language to translate the project into before the export.

In This Topic
    DxfDwgPages(ArrayList,String,String) Method
    In This Topic
    Exports pages of a project as a DXF/DWG file. Export settings are taken from the scheme passed in the 'sScheme' parameter It is decided by the settings whether the target is email or a file.
    Syntax
    public void DxfDwgPages( 
       ArrayList arrayPages,
       string sScheme,
       string sLanguage
    )
    public:
    void DxfDwgPages( 
       ArrayList^ arrayPages,
       String^ sScheme,
       String^ sLanguage
    ) 

    Parameters

    arrayPages
    A pages to be exported.
    sScheme
    Settings scheme to use.
    sLanguage
    Specifies the language to translate the project into before the export.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid arguments, for \example a wrong scheme.
    No user rights to create files on the \file system.
    The internal interface for exporting could not be created.
    Errors occurred during export. See the exception message for details.
    Remarks
    This method uses a scheme from "USER.DXF.SCHEMES". All necessary settings are set in this scheme. If you pass an empty string to "sScheme", the last used scheme will be used which is currently set in GUI. In the location taken from scheme( Output path ) there will be create a folder with project's name where all exported files will be inserted. If no scheme does exist with the given scheme name, a BaseException will be thrown. Depending on the scheme settings, exported pages' names can be prefixed to create a folder-like structure. Options available in the scheme for sub-folder generation are: none, from page tree, from page properties.
    See Also