DicomObjects.NET.V8
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 Boolean
    'Usage
     
    Dim instance As DrawStartEventArgs
    Dim value As Boolean
     
    instance.CancelPaint = value
     
    value = instance.CancelPaint
    public bool CancelPaint {get; set;}
    public:
    property bool CancelPaint {
       bool get();
       void set (    bool value);
    }
    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 3.5 or higher

    See Also