DicomObjects.NET10 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 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also