當前位置:成語大全網 - 書法字典 - VB制作記事本的字體代碼

VB制作記事本的字體代碼

“公共對話框1.flags = cdlcfboth或CDL effects”cdlcfboth對話框列出了可用的打印機和屏幕字體。cdlceffects對話框允許刪除線條、下劃線和顏色效果。

CommonDialog1“顯示字體”顯示字體對話框。

text 1 . font . name = common dialog 1 . font name‘設置字體。

text 1 . font . size = common dialog 1 . font size‘設置字體大小。

text 1 . font . bold = common dialog 1 . font bold‘設置是否以粗體顯示。

‘text 1 . font . italic = common dialog 1 . font italic‘設置是否以斜體顯示。

文本1。font strike thru = common dialog 1。設置是否顯示刪除線。

文本1。font underline = common dialog 1。“字體下劃線”設置是否顯示下劃線。

text 1 . forecolor = common dialog 1 . color‘設置單詞的顏色。

text 2 . font . name = common dialog 1 . font name‘設置字體。

text 2 . font . size = common dialog 1 . font size‘設置字體大小。

text 2 . font . bold = common dialog 1 . font bold‘設置是否以粗體顯示。

‘text 2 . font . italic = common dialog 1 . font italic‘設置是否以斜體顯示。

文本2。font strike thru = common dialog 1。設置是否顯示刪除線。

text 2 . font underline = common dialog 1 . font underline‘設置是否顯示下劃線。

text 2 . forecolor = common dialog 1 . color‘設置單詞的顏色。