Options
All
  • Public
  • Public/Protected
  • All
Menu

It represents a XLS file that will be printed at the client side.

Hierarchy

Index

Constructors

  • Creates an instance of the PrintFileXLS class with the specified info.

    Parameters

    • fileContent: any

      The content of the file depending on the source type.

    • fileContentType: FileSourceType

      The source type of the file.

    • fileName: string

      The file name that will be created at the client side.

    • Optional copies: number

      The number of printing copies.

    Returns PrintFileXLS

Properties

encryptedPassword: string = ""
fileContent: any

Gets or sets the content of the file depending on the source type.

fileContentType: FileSourceType

Gets or sets the source type of the file.

fileName: string = ""

Gets or sets the file name that will be created at the client side. It must include the file extension like .pdf, .txt, .doc, .xls, etc.

pageFrom: number = 0
pageTo: number = 0

Accessors

  • get copies(): number
  • set copies(value: number): void
  • Gets or sets the number of printing copies for this file. Default is 1.

    Returns number

  • Gets or sets the number of printing copies for this file. Default is 1.

    Parameters

    • value: number

    Returns void

Methods

  • getContent(): Promise<Blob>
  • getProperties(): IPrintFileXLSProperties