[]
Saves the current grid as a C1D file, which can later be loaded into a C1PrintDocument.
Note that unlike most other print/export methods, this method does not require C1.PrintDocument assemblies.
public bool SaveAsC1d(string outputFileName)
Type | Name | Description |
---|---|---|
string | outputFileName | The name of the output file. |
Type | Description |
---|---|
bool | true if the file was successfully saved, false otherwise. |
Saves the current grid to a stream in C1D (native C1PrintDocument) format.
Note that unlike most other print/export methods, this method does not require C1.PrintDocument assemblies.
public bool SaveAsC1d(Stream stream)
Type | Name | Description |
---|---|---|
Stream | stream | The output stream. |
Type | Description |
---|---|
bool | true if the stream was successfully written, false otherwise. |
Unlike the Print(Stream) method, this method does not reset the stream's position after saving.