GdipCreateLineBrushFromRectI (RectI, 十六进制到十进制 (“8800FF00”), 十六进制到十进制 (“FFFFFF00”), #线性渐变模式_从上到下, #线性渐变模式_从左到右, Brush)
文本 = “你好,测试一下.OK”
' 调试输出 (Graphics, fontfam, strformat, curfont, Brush)
调试输出 (GdipDrawString (Graphics, A2W (文本), lstrlenw (A2W (文本)), curfont, rclayout, strformat, Brush))
GdipDeleteFont (curfont)
GdipDeleteFontFamily (fontfam)
GdipDeleteStringFormat (strformat)
GdipDeleteBrush (Brush)
GdipDeleteGraphics (Graphics)
上一篇 自动载图自定义位置时钟控制图片