O2S.Components.PDF4NET.View.Wpf Documentation
UpdateOnDpiChange Method



O2S.Components.PDF4NET.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 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

PDFDocumentView Class
PDFDocumentView Members