Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NHorizontalRuler Class / CanPaint Method
paint content to check for


In This Topic
    CanPaint Method (NHorizontalRuler)
    In This Topic
    Determines whether the ruler can be painted in the specified context
    Syntax
    'Declaration
     
    
    Public Overrides Function CanPaint( _
       ByVal context As NPaintContext _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NHorizontalRuler
    Dim context As NPaintContext
    Dim value As System.Boolean
     
    value = instance.CanPaint(context)
    public override System.bool CanPaint( 
       NPaintContext context
    )

    Parameters

    context
    paint content to check for

    Return Value

    true if the ruler can be painted, otherwise false
    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