• IOS – some small things about custom segment selectors (segmented)


    The segment selection of the system is uisegmentedcontrol. There are also some customized segments of bigwigs, such as hmsegmentedcontrol on GIT. In my previous initial project, I’ve also used them. If I write or want to customize some UI, where should I start? In fact, after using hmsegmentedcontrol, I have a general idea. If I […]

  • Weex loads the local font file offline in native, such as iconfont.ttf


    Since my app has an offline mode, I have to save the font file locally and load it offline when I use iconfont, so I have the following article Let’s start with a couple of reasons How to load fonts on weex How to distinguish between local resources and online resources Relative path on the […]

  • New technique: a solution to the problem of font blur in win


    Now more and more small partners use the high-resolution screen (above 1080p). When they enjoy the more and more clear display effect, they also bring some problems in use. Small editing will solve them all at one time. These are the experience gained by using the high myopia mirror. If you feel that the font […]

  • Java uses POI to operate Excel


    1. POI operation Excel 1.1. Dependence org.apache.poi poi 4.1.0 org.apache.poi poi-ooxml 4.1.0 org.apache.poi poi-ooxml-schemas 4.1.0 1.2. Read Excel 1.2.1. Excel file content 1.2.2. Code /** * Read Excel */ public static void readExcel() { InputStream inputStream = null; XSSFWorkbook xssfWorkbook = null; try { String past = “/ operate excel. xlsx”; inputStream = new FileInputStream(past); […]

  • How to Set Font Format in VB6.0? Vb6.0 Setting Font Size Tutorial


    VB6.0 Code Editor wants to set font size, how to set it? Now let’s take a look at the detailed tutorial. Software Name: Visual Basic 6.0 Streamlined Installation Edition Software size: 5.86MB Update time: 2014-08-25 1, click Start – > all programs —->Microsoft Visual Basic 6 Chinese version, select Microsoft Visual Basic 6 Chinese version, […]

  • WPF – Export Data from DataGrid Control to Excel


    Exporting to Excel is very common. We can use many class libraries, such as Aspose, NOPI and Interop, where we use our own tools. My WPF binding Observable CollectionSet. public string ExcelExport(System.Data.DataTable DT, string title) { try { // Create Excel Microsoft.Office.Interop.Excel.Application ExcelApp = new Microsoft.Office.Interop.Excel.Application(); Microsoft.Office.Interop.Excel.Workbook ExcelBook = ExcelApp.Workbooks.Add(System.Type.Missing); // Create a worksheet (that […]

  • How to modify the font of PowerShell window in Win10 system?


    How does the win10 system modify the font of the PowerShell window? Now let’s take a look at the detailed tutorial. 1. First, the mouse clicks on the bottom left corner of the screen.Win Icon。 Then, find it in the pop-up start menuWindows PowerShell Folder, expand it. 2. After expanding the folder, right-click Windows PowerShell […]

  • Use of TrueType in RedHat 6.2


    The following steps are used: Create font storage directories, such as: $ mkdir /usr/X11R6/lib/X11/fonts/TrueType Use the fonts on Windows: $ cd “where_is_your_windows”/fonts/CP simsun.ttf/usr/X11R6/lib/X11/fonts/TrueType <–Copy Simple Song Style Generate fonts.dir file $ cd /usr/X11R6/lib/X11/fonts/TrueType $ ttmkfdir > fonts.dir Note: mkfontdir is used to generate fonts. dir files for dot matrix fonts and ttmkfdir is used to […]

  • Text Drawing of Multiple Fields in PIE Attribute Table


    Recently, we have studied the drawing of PIE SDK text elements, because in our development, we hope that after opening a Shp file, we can read all the fields in the attribute table, and then select some fields that we need, and draw the text of all the elements of these fields to the corresponding […]

  • Web Pack 4 packages static resources


    Demo code point here, before you start, do some preparation. Preparation Prepare an empty folder and execute the following commands: npm init -y npm i -D webpack webpack-cli Then create a dist directory and create an indedx. HTML in it: Web pack4 loader packages static resources Next, create an SRC directory, create a lib folder […]

  • Windows Terminal Installation and Beautification


    Windows Terminal is a new terminal launched at Microsoft Build Conference this year to replace third-party terminals such as cmder. It has acrylic transparency, multi-label, Unicode support (Chinese, Emoji), self-contained fonts and other characteristics.Now it can be installed in Microsoft Store. The system requirement is win10 1903 or above, but it’s still preview. There may […]

  • Implementation of ZedGraph’s multiple Y-axis in Winform (with source code download)


    scene In Winforn, the attributes of ZedGraph curve, coordinate axis and scale are set: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100112573 Effect   Realization Add two Y axes ZedGraph has two Y axes by default, so it has its own YAxis attribute and Y2Axis attribute. The first Y axis is displayed on the left by default and the second one on […]