ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutView Class / Refresh Method
Example

In This Topic
    Refresh Method (LayoutView)
    In This Topic
    Force the layout view to redraw. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void Refresh()
    Public Sub Refresh() 
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Example
    LayoutView_Refresh
    //Refresh the layout view.
    
    //Process on worker thread
    await QueuedTask.Run(() => layoutView.Refresh());
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also