LowCodePdfSaveOptions

LowCodePdfSaveOptions class

Options for saving pdf in low code way.

class LowCodePdfSaveOptions extends LowCodeSaveOptions;

Constructors

NameDescription
constructor(LowCodeSaveOptions)Constructs from a parent object convertible to this.
constructor()Default Constructor.

Properties

PropertyTypeDescription
pdfOptionsPdfSaveOptionsThe options for saving Pdf file.
outputFilestringGets 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.
outputStreamUint8ArrayGets and sets the Stream for writing the generated data to. When setting this property with value other than null, OutputFile will be ignored.

Methods

MethodDescription
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:

ParameterTypeDescription
objLowCodeSaveOptionsThe 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

SaveFormat

setSaveFormat(SaveFormat)

The save format for the output. For converting to pdf, it can only be SaveFormat.Pdf.

setSaveFormat(value: SaveFormat) : void;

Parameters:

ParameterTypeDescription
valueSaveFormatThe value to set.