The PdfViewInfo interface defines the contract for accessing and manipulating view information for a PDF document in the GroupDocs.Viewer component. It provides methods to retrieve information such as allowing printing, and other properties.
Example usage:
try (Viewer viewer = new Viewer("document.pdf")) {
final PdfViewInfo viewInfo = (PdfViewInfo) viewer.getViewInfo(ViewInfoOptions.forPngView());
// Use the viewInfo object for further operations
}
Note: The default implementation of this interface is PdfViewInfoImpl.