DatabaseSaveAs(String, Boolean, DwgVersion, SecurityParameters) Method

Saves content of the currently active database according to the passed arguments.

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public void SaveAs(
        string fileName,
        bool bBakAndRename,
        DwgVersion version,
        SecurityParameters security
)

Parameters

fileName  String
[in] File name to write the database to. File extension is not appended automatically.
bBakAndRename  Boolean
[in] Flag that specifies whether to create a .bak file and change the document name. If not specified, no .bak file is created and the file is not renamed.
version  DwgVersion
[in] A file version to which to save the file.
security  SecurityParameters
[in] A SecurityParameters class that represents security parameters such as password, provider name, serial number, etc.
Remarks
If security is non-NULL, its settings ignore any previous database security settings, otherwise previous security settings remain unchanged. If the security parameters are not properly initialized, the method fails. If .dwg files can no longer be saved with passwords specified in security parameters.
See Also

©  Bricsys NV. All rights reserved.