摘要: 1 /* Rolling groove */ 2 ::-webkit-scrollbar { 3 width: 6px; 4 height: 6px; 5 } 6 ::-webkit-scrollbar-track { 7 border-radius: 3px; 8 background: rgba 阅读全文
posted @ 2021-09-08 16:04 白小江 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 动态设置readonly的方法 document.getElementById(`test`).setAttribute('readonly','true'); document.getElementById(`test`).removeAttribute('readonly'); 不能使用 set 阅读全文
posted @ 2020-04-22 16:42 白小江 阅读(1535) 评论(0) 推荐(0) 编辑
摘要: 导出圆弧可以使用现成的API AcadArc AddArc(object Center, double Radius, double StartAngle, double EndAngle); 四个参数分别为中心点坐标,半径,起始角度和结束角度,其中要注意的是角度单位是弧度 而不是度, 而椭圆弧则是 阅读全文
posted @ 2019-11-08 15:55 白小江 阅读(617) 评论(0) 推荐(0) 编辑
摘要: 记录一下以防忘记~ 阅读全文
posted @ 2019-09-17 16:51 白小江 阅读(3471) 评论(0) 推荐(0) 编辑
摘要: NPOI是指构建在POI 3.x版本之上的一个程序,NPOI可以在没有安装Office的情况下对Word或Excel文档进行读写操作。 NPOI是一个开源的C#读写Excel、WORD等微软OLE2组件文档的项目。 摘自百度百科 NPOI确实是一款在C#中很好用的API,优点正如上面所说:可以在没有 阅读全文
posted @ 2019-09-09 10:59 白小江 阅读(6717) 评论(0) 推荐(0) 编辑