PDFView4NET WinForms Edition


IncrementalLoad Property
Gets or sets a value indicating whether the document parts should be loaded as needed or the entire document should be loaded in memory.
Syntax
'Declaration
 
<CategoryAttribute("PDF")>
<DescriptionAttribute("Incremental load option for document content.")>
<DefaultValueAttribute(True)>
Public Property IncrementalLoad As Boolean
'Usage
 
Dim instance As PDFDocument
Dim value As Boolean
 
instance.IncrementalLoad = value
 
value = instance.IncrementalLoad
[Category("PDF")]
[Description("Incremental load option for document content.")]
[DefaultValue(true)]
public bool IncrementalLoad {get; set;}

Property Value

True if incremental loading should be used for PDF document, false otherwise. Default is true.
Remarks
By default the PDFDocument loads only the pages that need to be displayed. This requires the source stream to be kept open in order to load remaining pages when they are needed. Loading the entire PDF file in memory allows closing the source stream.
Requirements

Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also