Skip to content

SubFile interface

The SubFile interface is a descendant of Extractor, allowing work with sub-documents, extracted from a parent document, by calling the parent’s Extractor::GetFirstSubFile and Extractor::GetNextSubFile methods.

Open the sub-document associated with an instance of SubFile, in the same way as described for Extractor, allowing processing of sub-documents to any depth. This means that text can be extracted and/or sub-documents contained in this SubFile maybe enumerated.

SubFile::Comment property

The Comment property returns any stored comment for the subfile.

SubFile::FileDate property

The FileDate property contains last-modified date and time of the sub-document as a double-precision number (DATE).

If the date information is not available, the value is 0.

SubFile::FileSize property

The FileSize property contains the size, in bytes, of the sub-document as a 64-bit number (INT64).

If the size information is not available, the value is 0.

SubFile::FileTime property

The FileTime property contains last-modified date and time of the sub-document in the date time format supported by the language.

SubFile::Flags property

Returns stored flags for the subfile.

SubFile::ID property

The ID property contains the unique ID of the sub-document.

SubFile::IsEncrypted property

The IsEncrypted property indicates if the subfile requires a password to extract.

SubFile::Name property

The Name property displays name of the sub-document, if available.