GDI画条码,这还真没怎么耍过。
解决方案 »
- 定义一个数字数组,计算所有数字之和,并返回结果。
- 小高分求助,关于HttpWebResponse 返回
- 关于Datagridview的简单问题
- 哪儿有 .net api函数手册下载???
- 求教 登陆条件解析
- 怎样得到FTP空间的物理路径
- 求正则表达式,
- 在线等,急。有关Win2003Server系统下IIS6.0、VS.NET2003开发环境的问题。回答满意者额外送200-300分!
- 请教:刚刚转学C#,编程多年重当菜鸟,有几个问题请各位大侠指点,奖分,在线等!
- 一个人开发一个C#ERP,求各位大神指点用什么框架和无刷新技术
- 下学期要跟着辅导员做项目,然后他让我把这些学了
- Winform Webbrowser 后台截图问题
using HDC = Int32;
using LPWSTR = String;
using LPRECT = Rectangle; public partial class X32
{
[DllImport("Barcode.dll", CharSet = CharSet.Unicode)]
static extern DWORD DrawBarcode(
HDC hDc,
[MarshalAs(UnmanagedType.LPWStr | UnmanagedType.VBByRefStr)] ref LPWSTR TEXT,
[MarshalAs(UnmanagedType.LPWStr | UnmanagedType.VBByRefStr)] ref LPWSTR Starstopchar,
[MarshalAs(UnmanagedType.LPWStr | UnmanagedType.VBByRefStr)] ref LPWSTR facename,
[MarshalAs(UnmanagedType.LPWStr | UnmanagedType.VBByRefStr)] ref LPWSTR buffer,
ref LPRECT bounds,
ref LPRECT barcodematrix,
int textwidth,
int texheight,
int textbobarcode,
int textquiezone,
int barinflate,
DWORD color,
DWORD @params
);
HDC->DWORD->4BYTE->INT
WCHAR*->wchar_t*->LPWSTR->SYSINT
LPRECT->RECT*->SYSINT