当前位置:编程学习 > VB >>

如何取得计算机的所有字型?

 

 

取得屏幕字型:

   Dim I As Long

 

   For I = 0 To Screen.FontCount - 1

     Combo1.AddItem Screen.Fonts(I)

   Next

 

取得打印机字型:

   Dim I As Long

 

   For I = 0 To Printer.FontCount - 1

     Combo2.AddItem Printer.Fonts(I)

   Next

 

 

补充:软件开发 , Vb ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,