Write

Namespace: Digi21.DigiNG.DigiTab
Assembly: Digi21.DigiNG

Saves the code table to a file.

public void Write(string path)

Parameters

Parameter Description
path Path of the file to write.

The format is selected by the extension of path, case-insensitively:

  • .xml extension: code table XML file.
  • Any other extension: ZIP file with the Digi.tab.xml entry and, in the Symbols folder, the .bin files from the symbols folder configured in Digi3D.AI. If the ZIP file already exists, these entries are added or replaced.

Notes

Write does not change the Path property.

Exceptions

Exception When
ArgumentNullException path is null.
InvalidOperationException The code table is encrypted. Nothing is written.
IOException Native code could not write the code table. The message includes path.
Exception Native code threw its own error while writing; the message is that error's message.
Exception A file writing error reported by native code through an exception. The message describes the error.

Exception messages are in the Digi3D.AI interface language.

Example

The complete example is in NodeDigiTab.