←Select platform

IsLocal Property

Summary

Indicate that this page has been created by the user in this document.

Syntax
C#
VB
C++
Java
public bool IsLocal { get; } 
Public ReadOnly Property IsLocal() As Boolean 
   Get 
public:  
   property bool IsLocal 
   { 
      bool get() 
   } 
public boolean isLocal() 

Property Value

true if this page has been created by the user in this document; otherwise, false.

Remarks

The value of IsLocal will be false if the page corresponds to an actual page in the source document. In other words, the value of OriginalPageNumber is not -1 and the page raster or SVG data representation.

The value of IsLocal is set initially to true when the user creates a new page using DocumentPages.CreatePage and adding this page to a document. This value means the page does not have raster or SVG data and the owner document has not been saved into the cache yet. When the owner document is saved into the cache or when the user sets image or SVG data into the page, the value of IsLocal will be set to true.

This value is not saved into the cache (since, saving to the cache automatically renders the page to be "not local" and is currently used by the Document Viewer internally to determine whether to skip rendering the page into the view or thumbnail portion.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly