|EditorGetDocumentInfo Method |
Returns metadata about the document, that was loaded to this 'Editor' instance
GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 18.104.22.168
public IDocumentInfo GetDocumentInfo(
Public Function GetDocumentInfo (
password As String
) As IDocumentInfo
member GetDocumentInfo :
password : string -> IDocumentInfo
- Type: SystemString
User can specify a password for a document, if this document is encrypted with the password.
May be NULL or empty string, that is equivalent to the absent password.
Format-specific inheritor of IDocumentInfo interface, that indicates detected format with format-specific metadata, or NULL,
if document was not recognized as supportable.
GetDocumentInfo method is useful when it is unclear of which type is the input document, is it password-protected and/or how many pages/worksheets/slides it contains. Based on this metadata, returned by GetDocumentInfo, it is possible to correctly adjust the load and edit options for the main processing pipeline.
GetDocumentInfo method always returns full data, it is not affected by the trial mode, its usage doesn't write off consumed bytes or credits.