Skip to content

PdfVisualPage.RefreshContent Method

RefreshContent()

Reparses and displays the page after the underlying page content stream has changed.

C#
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.