FileFormatInfo

FileFormatInfo class

Contains data returned by FileFormatUtil file format detection methods.

Constructors

NameDescription
FileFormatInfo

Properties

NameTypeDescription
IsProtectedByRMSbooleanGets whether the file is protected by Microsoft Rights Management Server.
IsEncryptedbooleanReturns true if the document is encrypted and requires a password to open.
FileFormatTypeintGets the detected file format. The value of the property is FileFormatType integer constant.
LoadFormatintGets the detected load format. The value of the property is LoadFormat integer constant.

FileFormatInfo()

FileFormatInfo.IsProtectedByRMS property

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

Type: boolean

FileFormatInfo.IsEncrypted property

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

Type: boolean

FileFormatInfo.FileFormatType property

Gets the detected file format. The value of the property is FileFormatType integer constant.

Type: int

FileFormatInfo.LoadFormat property

Gets the detected load format. The value of the property is LoadFormat integer constant.

Type: int