LowCodePdfSaveOptions
Contents
[
Hide
]LowCodePdfSaveOptions class
Options for saving pdf in low code way.
class LowCodePdfSaveOptions extends LowCodeSaveOptions;
Constructors
Name | Description |
---|---|
constructor(LowCodeSaveOptions) | Constructs from a parent object convertible to this. |
constructor() | Default Constructor. |
Properties
Property | Type | Description |
---|---|---|
pdfOptions | PdfSaveOptions | The options for saving Pdf file. |
outputFile | string | Gets and sets the file(with path if needed) for saving the generated data. When setting this property with value other than null or empty string, OutputStream will be ignored. |
outputStream | Uint8Array | Gets and sets the Stream for writing the generated data to. When setting this property with value other than null, OutputFile will be ignored. |
Methods
Method | Description |
---|---|
getSaveFormat() | The save format for the output. For converting to pdf, it can only be SaveFormat.Pdf. |
setSaveFormat(SaveFormat) | The save format for the output. For converting to pdf, it can only be SaveFormat.Pdf. |
constructor(LowCodeSaveOptions)
Constructs from a parent object convertible to this.
constructor(obj: LowCodeSaveOptions);
Parameters:
Parameter | Type | Description |
---|---|---|
obj | LowCodeSaveOptions | The parent object. |
constructor()
Default Constructor.
constructor();
pdfOptions
The options for saving Pdf file.
pdfOptions : PdfSaveOptions;
outputFile
Gets and sets the file(with path if needed) for saving the generated data. When setting this property with value other than null or empty string, OutputStream will be ignored.
outputFile : string;
outputStream
Gets and sets the Stream for writing the generated data to. When setting this property with value other than null, OutputFile will be ignored.
outputStream : Uint8Array;
getSaveFormat()
The save format for the output. For converting to pdf, it can only be SaveFormat.Pdf.
getSaveFormat() : SaveFormat;
Returns
setSaveFormat(SaveFormat)
The save format for the output. For converting to pdf, it can only be SaveFormat.Pdf.
setSaveFormat(value: SaveFormat) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | SaveFormat | The value to set. |