点击或拖拽改变大小

UnmanagedMethodsStretchDIBits 方法 (IntPtr, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Byte, UnmanagedMethodsBITMAPINFOHEADER, UInt32, UInt32)

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <summary> 文档]

命名空间:  CPF.Windows
程序集:  CPF.Windows (在 CPF.Windows.dll 中) 版本:0.8.8.5
语法
C#
public static int StretchDIBits(
	IntPtr hdc,
	int XDest,
	int YDest,
	int nDestWidth,
	int nDestHeight,
	int XSrc,
	int YSrc,
	int nSrcWidth,
	int nSrcHeight,
	byte[] lpBits,
	in UnmanagedMethodsBITMAPINFOHEADER lpBitsInfo,
	uint iUsage,
	uint dwRop
)

参数

hdc
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="hdc"/> 文档]

XDest
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="XDest"/> 文档]

YDest
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="YDest"/> 文档]

nDestWidth
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="nDestWidth"/> 文档]

nDestHeight
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="nDestHeight"/> 文档]

XSrc
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="XSrc"/> 文档]

YSrc
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="YSrc"/> 文档]

nSrcWidth
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="nSrcWidth"/> 文档]

nSrcHeight
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="nSrcHeight"/> 文档]

lpBits
类型:SystemByte

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="lpBits"/> 文档]

lpBitsInfo
类型:CPF.WindowsUnmanagedMethodsBITMAPINFOHEADER

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="lpBitsInfo"/> 文档]

iUsage
类型:SystemUInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="iUsage"/> 文档]

dwRop
类型:SystemUInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <param name="dwRop"/> 文档]

返回值

类型:Int32

[缺少 "M:CPF.Windows.UnmanagedMethods.StretchDIBits(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.UInt32)" 的 <returns> 文档]

参见