Drawing3d documented Class Library

FeaturesW32.SelectObject(IntPtr, UIntPtr) Method

This function selects an object into a specified device context. The new object replaces the previous object of the same type.

[Visual Basic]
<PreserveSig> _
<DllImport(EntryPoint:="SelectObject", CharSet:=CharSet.None, SetLastError:=False, ExactSpelling:=False, PreserveSig:=True, CallingConvention:=CallingConvention.Winapi, BestFitMapping:=False, ThrowOnUnmappableChar:=False, Value:="gdi32.dll")> _
Public Overloads Shared Sub SelectObject( _
   ByVal hDC As IntPtr, _
   ByVal font As UIntPtr _
[DllImport(EntryPoint="SelectObject", CharSet=CharSet.None, SetLastError=False, ExactSpelling=False, PreserveSig=True, CallingConvention=CallingConvention.Winapi, BestFitMapping=False, ThrowOnUnmappableChar=False, Value="gdi32.dll")]
public static IntPtr SelectObject(
   IntPtr hDC,
   UIntPtr font


A handle to the device context.
Handle to the object to be selected.

Return Value

See Also

FeaturesW32 Class | Drawing3d.OS.Windows Namespace | FeaturesW32.SelectObject Overload List