Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartPaint Class / GetInvertedColor Method
A System.Drawing.Color structure represeting the color whose opposite color is to be retrieved.


In This Topic
    GetInvertedColor Method
    In This Topic
    Retrieves the opposite color of the specified color.
    Syntax
    'Declaration
     
    Public Function GetInvertedColor( _
       ByVal originalColor As Color _
    ) As Color
    'Usage
     
    Dim instance As SmartPaint
    Dim originalColor As Color
    Dim value As Color
     
    value = instance.GetInvertedColor(originalColor)
    public Color GetInvertedColor( 
       Color originalColor
    )

    Parameters

    originalColor
    A System.Drawing.Color structure represeting the color whose opposite color is to be retrieved.

    Return Value

    A System.Drawing.Color structure representing the opposite color of originalColor.
    Remarks

    The alpha component of originalColor is not modified.

    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