自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

勉励->蜕变

一个不爱学习,不爱工作的人的努力记录

  • 博客(2)
  • 资源 (3)
  • 问答 (2)
  • 收藏
  • 关注

原创 C# Winform TabControl标签,背景设置图片

设置TabControl属性DrawMode为OwnerDraw private void tabControl_DrawItem(object sender, DrawItemEventArgs e)        {                                        Image imgButton = OcvMana.Properties.Resources.but...

2018-06-15 15:18:07 6855 2

原创 VSTO Word 2010表格布局求解决

![想要实现这样的效果]文字描述:一个表格中,总宽为98%的定宽,右侧一列为6cm的定宽,左侧怎样实现为自动长度,求代码

2018-05-28 18:46:47 596

AspriseOCR_demo

添加引用代码(因为dll文件为VC编程,不能直接添加引用): [DllImport("AspriseOCR.dll", EntryPoint = "OCR")] public static extern IntPtr OCR(string file, int type); [DllImport("AspriseOCR.dll", EntryPoint = "OCRpart")] static extern IntPtr OCRpart(string file, int type, int startX, int startY, int width, int height); [DllImport("AspriseOCR.dll", EntryPoint = "OCRBarCodes")] static extern IntPtr OCRBarCodes(string file, int type); [DllImport("AspriseOCR.dll", EntryPoint = "OCRpartBarCodes")] static extern IntPtr OCRpartBarCodes(string file, int type, int startX, int startY, int width, int height);

2015-09-07

AspriseOCR 4.0破解dll

AspriseOCR 4.0破解dll是由VC编写,所以引用需要用代码来实现,代码如下: [DllImport(@"F:\ocr\OCR\OCR 图片识别\AspriseOCR 4.0破解dll\AspriseOCR.dll", EntryPoint = "OCR", CallingConvention = CallingConvention.Cdecl)] public static extern IntPtr OCR(string file, int type); [DllImport(@"F:\ocr\OCR\OCR 图片识别\AspriseOCR 4.0破解dll\AspriseOCR.dll", EntryPoint = "OCRpart", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr OCRpart(string file, int type, int startX, int startY, int width, int height); [DllImport(@"F:\ocr\OCR\OCR 图片识别\AspriseOCR 4.0破解dll\AspriseOCR.dll", EntryPoint = "OCRBarCodes", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr OCRBarCodes(string file, int type); [DllImport(@"F:\ocr\OCR\OCR 图片识别\AspriseOCR 4.0破解dll\AspriseOCR.dll", EntryPoint = "OCRpartBarCodes", CallingConvention = CallingConvention.Cdecl)] static extern IntPtr OCRpartBarCodes(string file, int type, int startX, int startY, int width, int height); 使用实现代码如下: Marshal.PtrToStringAnsi(OCRpart(PicturePath , -1, startX, startY, width, height));//返回值为字符串 return Marshal.PtrToStringAnsi(OCRpart(PicturePath, -1, 0, 0, 900, 200));

2015-09-07

git常用命令

1. 创建git资源库 git init --bare 库名称 2. 在用户文件夹下把资源clone下来 git clone /g/software/repository/git/itheima . 注意:clone时候用户目录必须为空 3. 创建一个文件,纳入到版本控制中。 git add 第一次执行会出警告:warning: LF will be replaced by CRLF in readme.txt. The file will have its original line endings in your working directory. 警告处理:需要配置用户信息 git config user.name = "zhangsan" git config user.email = "[email protected]" 4. 提交到本地版本库里。 git commit 5. 推送到远程共享版本库中 git push origin master 6. 切换用户,拉取最新的文件 git pull 7. 查看仓库当前状态 git status 8. 查看修改了什么内容 git diff

2015-08-26

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除