O2S.Components.PDF4NET.View.Win Documentation
RefreshContent Method



O2S.Components.PDF4NET.View Namespace > PDFVisualPage Class : RefreshContent Method
Reparses and displays the page after the underlying page content stream has changed.
Syntax
'Declaration
 
Public Sub RefreshContent() 
'Usage
 
Dim instance As PDFVisualPage
 
instance.RefreshContent()
public void RefreshContent()
public:
void RefreshContent(); 
Remarks
Call this method to update the page in the viewer after performing changes on the page content using non-visual methods.
Note: It is not recommended to modify the page content while the page is in process of being displayed in the viewer. Please wait for the PDFDocumentView.PageRenderingCompleted or PDFDocumentView.PageRenderingCancelled events to be fired before making changes.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PDFVisualPage Class
PDFVisualPage Members
PageRenderingCompleted Event
PageRenderingCancelled Event