XFINIUM.PDF.View.Wpf Documentation
UpdateOnDpiChange Method



Xfinium.Pdf.View Namespace > PdfDocumentView Class : UpdateOnDpiChange Method
Updates the viewer content when the monitor dpi changes.
Syntax
'Declaration
 
Public Sub UpdateOnDpiChange() 
'Usage
 
Dim instance As PdfDocumentView
 
instance.UpdateOnDpiChange()
public void UpdateOnDpiChange()
public:
void UpdateOnDpiChange(); 
Remarks
This method should be called by client application in response to dpi change events. If this method is not called when the monitor dpi changes then the layout of the viewer content might get scrambled and the current document needs to be closed and reopened.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Presentation Foundation 4.x


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

PdfDocumentView Class
PdfDocumentView Members