FileFormatInfo

FileFormatInfo class

Contains data returned by FileFormatUtil file format detection methods.

class FileFormatInfo;

Constructors

NameDescription
constructor()Default Constructor.

Methods

MethodDescription
isProtectedByRMS()Gets whether the file is protected by Microsoft Rights Management Server.
isEncrypted()Returns true if the document is encrypted and requires a password to open.
getFileFormatType()Gets the detected file format.
getLoadFormat()Gets the detected load format.

constructor()

Default Constructor.

constructor();

isProtectedByRMS()

Gets whether the file is protected by Microsoft Rights Management Server.

isProtectedByRMS() : boolean;

isEncrypted()

Returns true if the document is encrypted and requires a password to open.

isEncrypted() : boolean;

getFileFormatType()

Gets the detected file format.

getFileFormatType() : FileFormatType;

Returns

FileFormatType

getLoadFormat()

Gets the detected load format.

getLoadFormat() : LoadFormat;

Returns

LoadFormat