Nevron.Interop.Win32 Namespace / NGdi32 Class / SetTextColor Method


In This Topic
    SetTextColor Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function SetTextColor( _
       ByVal hDC As System.IntPtr, _
       ByVal colorRef As System.UInteger _
    ) As System.UInteger
    'Usage
     
    
    Dim hDC As System.IntPtr
    Dim colorRef As System.UInteger
    Dim value As System.UInteger
     
    value = NGdi32.SetTextColor(hDC, colorRef)
    public static System.uint SetTextColor( 
       System.IntPtr hDC,
       System.uint colorRef
    )

    Parameters

    hDC
    colorRef
    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