PDFView4NET WinForms Edition
IncrementalLoad Property




O2S.Components.PDFView4NET Namespace > PDFDocument Class : 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;}
[Category("PDF")]
[Description("Incremental load option for document content.")]
[DefaultValue(true)]
public: __property bool get_IncrementalLoad();
public: __property void set_IncrementalLoad( 
   bool value
);
[Category("PDF")]
[Description("Incremental load option for document content.")]
[DefaultValue(true)]
public:
property bool IncrementalLoad {
   bool get();
   void set (    bool value);
}

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 Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFDocument Class
PDFDocument Members