DicomObjects.NET.8.48 Documentation
DicomObjects.EventArguments Namespace / DrawStartEventArgs Class / CancelPaint Property

In This Topic
    CancelPaint Property
    In This Topic
    Causes a paint operation to be cancelled.
    Syntax
    'Declaration
     
    
    Public Property CancelPaint As System.Boolean
    public System.bool CancelPaint {get; set;}
    Remarks
    This is intially false, but if set to true during DicomViewer.DrawStart2 then the subsequent drawing of the DicomViewer does not occur.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also