interface ActionType {
    destroy: () => Promise<void>;
    getFilePath: () => Promise<string>;
    getType: () => Promise<number>;
    getTypeName: () => Promise<string>;
    options: Options;
    setDest: (dest: DestType) => Promise<void>;
    setFilePath: (filePath: string, isURL: boolean) => Promise<void>;
}

Implemented by

Properties

destroy: () => Promise<void>

Destroys a PDF action.

getFilePath: () => Promise<string>

Gets the file full path of the PDF Action

Type declaration

    • (): Promise<string>
    • Returns Promise<string>

      • The file full path of the PDF Action
getType: () => Promise<number>

Gets the type of the action.

Type declaration

    • (): Promise<number>
    • Returns Promise<number>

      • The type of the action.
getTypeName: () => Promise<string>

Gets the type name of the PDF action.

Type declaration

    • (): Promise<string>
    • Returns Promise<string>

      The type name of the PDF action

options: Options
setDest: (dest: DestType) => Promise<void>

Sets the destination of PDF action

Type declaration

    • (dest: DestType): Promise<void>
    • Parameters

      • dest: DestType

        Refer to a PDF destination

      Returns Promise<void>

setFilePath: (filePath: string, isURL: boolean) => Promise<void>

Sets the file full path.

Type declaration

    • (filePath: string, isURL: boolean): Promise<void>
    • Parameters

      • filePath: string

        The input file full path.

      • isURL: boolean

        Whether the file path is a URL or not.

      Returns Promise<void>