Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NPaletteColorPickerBase Class / GetHorizontallyCenteredContentArea Method


In This Topic
    GetHorizontallyCenteredContentArea Method
    In This Topic
    Gets a rectangle that can host all cells and is centered within the given content area.
    Syntax
    'Declaration
     
    
    Protected Function GetHorizontallyCenteredContentArea( _
       ByVal ca As NRectangle, _
       ByVal cellLength As System.Integer _
    ) As NRectangle
    'Usage
     
    
    Dim instance As NPaletteColorPickerBase
    Dim ca As NRectangle
    Dim cellLength As System.Integer
    Dim value As NRectangle
     
    value = instance.GetHorizontallyCenteredContentArea(ca, cellLength)
    protected NRectangle GetHorizontallyCenteredContentArea( 
       NRectangle ca,
       System.int cellLength
    )

    Parameters

    ca
    cellLength
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also