API Help
Eplan.EplApi.HEServices Namespace / Export Class / DxfDwgPageToEMail Method / DxfDwgPageToEMail(Page,String,String,Double) Method
A page to be exported.
Settings scheme to use.
The output file name.
The value to overwrite the split size from the schema settings.

In This Topic
    DxfDwgPageToEMail(Page,String,String,Double) Method
    In This Topic
    Exports a page to the DXF/DWG format and sends it by email. Export settings are taken from the scheme passed in the 'sScheme' parameter
    Syntax
    public void DxfDwgPageToEMail( 
       Page page,
       string sScheme,
       string sFileName,
       double dSplitSize
    )
    public:
    void DxfDwgPageToEMail( 
       Page^ page,
       String^ sScheme,
       String^ sFileName,
       double dSplitSize
    ) 

    Parameters

    page
    A page to be exported.
    sScheme
    Settings scheme to use.
    sFileName
    The output file name.
    dSplitSize
    The value to overwrite the split size from the schema settings.
    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. 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