Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NHorizontalRuler Class / ClampToRulerPaintArea Method
coordinate to clamp


In This Topic
    ClampToRulerPaintArea Method (NHorizontalRuler)
    In This Topic
    Clamps the specified coordinate to the ruler paint area
    Syntax
    'Declaration
     
    
    Public Overrides Function ClampToRulerPaintArea( _
       ByVal coordinate As System.Single _
    ) As System.Single
    'Usage
     
    
    Dim instance As NHorizontalRuler
    Dim coordinate As System.Single
    Dim value As System.Single
     
    value = instance.ClampToRulerPaintArea(coordinate)
    public override System.float ClampToRulerPaintArea( 
       System.float coordinate
    )

    Parameters

    coordinate
    coordinate to clamp

    Return Value

    clamped coordinate
    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