OutlookOptionsMaxItemsInFolder Property
The maximum number of messages or items, that can be rendered from one folder.

Namespace: GroupDocs.Viewer.Converter.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.6
Syntax
public int MaxItemsInFolder { get; set; }

Property Value

Type: Int32
Remarks
Outlook data files can be large and retrieving all messages can take significant time. This setting limits maximum number of messages or items (like contacts and tasks) that are rendered. Default value is 50. In order to render all messages, set the value to 0.
Examples
The following example demonstrates how to set the maximum number of message to be rendered from outlook data files.
C#
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler();
HtmlOptions options = new HtmlOptions();
options.OutlookOptions.MaxMessagesInFolder = 1000;;

string guid = "emails.pst";
List<PageHtml> pages = htmlHandler.GetPages(guid, options);
See Also