FileFormatInfo
FileFormatInfo class
Contains data returned by FileFormatUtil file format detection methods.
class FileFormatInfo;
Constructors
| Constructor | Description |
|---|---|
| constructor() | Default Constructor. |
Properties
| Property | Type | Description |
|---|---|---|
| isProtectedByRMS | boolean | Readonly. Gets whether the file is protected by Microsoft Rights Management Server. |
| isEncrypted | boolean | Readonly. Returns true if the document is encrypted and requires a password to open. |
| fileFormatType | FileFormatType | Readonly. Gets the detected file format. |
| loadFormat | LoadFormat | Readonly. Gets the detected load format. |
Methods
| Method | Description |
|---|---|
| isProtectedByRMS() | @deprecated. Please use the ‘isProtectedByRMS’ property instead. Gets whether the file is protected by Microsoft Rights Management Server. |
| isEncrypted() | @deprecated. Please use the ‘isEncrypted’ property instead. Returns true if the document is encrypted and requires a password to open. |
| getFileFormatType() | @deprecated. Please use the ‘fileFormatType’ property instead. Gets the detected file format. |
| getLoadFormat() | @deprecated. Please use the ’loadFormat’ property instead. Gets the detected load format. |
| isNull() | Checks whether the implementation object is null. |
constructor()
Default Constructor.
constructor();
isProtectedByRMS
Readonly. Gets whether the file is protected by Microsoft Rights Management Server.
isProtectedByRMS : boolean;
isEncrypted
Readonly. Returns true if the document is encrypted and requires a password to open.
isEncrypted : boolean;
fileFormatType
Readonly. Gets the detected file format.
fileFormatType : FileFormatType;
loadFormat
Readonly. Gets the detected load format.
loadFormat : LoadFormat;
isProtectedByRMS()
@deprecated. Please use the ‘isProtectedByRMS’ property instead. Gets whether the file is protected by Microsoft Rights Management Server.
isProtectedByRMS() : boolean;
isEncrypted()
@deprecated. Please use the ‘isEncrypted’ property instead. Returns true if the document is encrypted and requires a password to open.
isEncrypted() : boolean;
getFileFormatType()
@deprecated. Please use the ‘fileFormatType’ property instead. Gets the detected file format.
getFileFormatType() : FileFormatType;
Returns
getLoadFormat()
@deprecated. Please use the ’loadFormat’ property instead. Gets the detected load format.
getLoadFormat() : LoadFormat;
Returns
isNull()
Checks whether the implementation object is null.
isNull() : boolean;