public static extern int SetStretchBltMode(IntPtr hdc, StretchingMode iStretchMode);
public static extern StretchingMode SetStretchBltMode([In] IntPtr hdc, StretchingMode mode);
/// <summary> /// The SetStretchBltMode function sets the bitmap stretching mode in the specified device context /// </summary> /// <param name="hdc">Handle to the device context</param> /// <param name="mode">Specifies the stretching mode</param> /// <returns>If the function succeeds, the return value is the previous stretching mode</returns> public static StretchingMode SetStretchBltMode([In] IntPtr hdc, StretchingMode mode) { return(Native.SetStretchBltMode(hdc, mode)); }
/// <summary> /// The SetStretchBltMode function sets the bitmap stretching mode in the specified device context /// </summary> /// <param name="hdc">Handle to the device context</param> /// <param name="mode">Specifies the stretching mode</param> /// <returns>If the function succeeds, the return value is the previous stretching mode</returns> public static StretchingMode SetStretchBltMode([In] IntPtr hdc, StretchingMode mode) { return Native.SetStretchBltMode(hdc, mode); }