setFile

[ Function ]

public setFile(newValue: string | null): void;

This function sets a new value for the File attribute.

Parameter

Name

Type

Description

newValue

string, null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

See also

Attribute getter: getFile

Origin: PDF Viewer

setFile 1:

Available from version 1.12