Nevron Open Vision Documentation
Nevron.Nov.Editors Namespace / NPreviewFactory Class / UpdatePreview Method


In This Topic
    UpdatePreview Method (NPreviewFactory)
    In This Topic
    Updates the preview shown by the given preview widget. Returns true if the current preview widget should be replaced with the one returned in the newPreviewWidget out parameter.
    Syntax
    'Declaration
     
    
    Public Overridable Function UpdatePreview( _
       ByVal previewWidget As NPreview, _
       ByRef newPreviewWidget As NPreview _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NPreviewFactory
    Dim previewWidget As NPreview
    Dim newPreviewWidget As NPreview
    Dim value As System.Boolean
     
    value = instance.UpdatePreview(previewWidget, newPreviewWidget)
    public virtual System.bool UpdatePreview( 
       NPreview previewWidget,
       out NPreview newPreviewWidget
    )

    Parameters

    previewWidget
    newPreviewWidget
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also