# Retrieve the document information Retrieving information about a document with GroupDocs.Viewer for Java Once a document is loaded, you can retrieve its properties. For example, you can retrieve the format family and the page count to select a rendering strategy. Also, you can display information about the document during rendering or with the rendered document. This section describes how to retrieve the document properties. Also, it shows how to get a list of supported file formats. For details, please refer to the following pages: {{< alert style="info" >}} * A file type is a standard way that information is encoded for storage in a computer file. For example, Microsoft Word (.docx) and Adobe PDF (.pdf) are two different file types. * A format family is a group of several file types for which an application provides additional information. For example, archive files (.7z, .rar, .zip, etc.) or Outlook files (.ost, .pst) are format families. {{< /alert >}} ## Contents - [Determine the file type](https://docs.groupdocs.com/viewer/java/how-to-determine-file-type.md) - [Get the format family and the additional information](https://docs.groupdocs.com/viewer/java/how-to-get-file-type-and-pages-count.md) - [Check if a file is encrypted](https://docs.groupdocs.com/viewer/java/how-to-check-if-file-is-encrypted.md) - [List and print all supported file types](https://docs.groupdocs.com/viewer/java/how-to-list-and-print-all-supported-file-types.md) - [Get the width and height of the document pages](https://docs.groupdocs.com/viewer/java/how-to-get-page-width-and-height.md) - [Get the PDF output file information](https://docs.groupdocs.com/viewer/java/get-pdf-output-file-info.md)