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
    'Usage
     
    
    Dim instance As DrawStartEventArgs
    Dim value As System.Boolean
     
    instance.CancelPaint = value
     
    value = instance.CancelPaint
    public System.bool CancelPaint {get; set;}
    public read-write property CancelPaint: System.Boolean; 
    public function get,set CancelPaint : System.boolean
    public: __property System.bool get_CancelPaint();
    public: __property void set_CancelPaint( 
       System.bool value
    );
    public:
    property System.bool CancelPaint {
       System.bool get();
       void set (    System.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 4.8 or higher

    See Also