www.pudn.com > Txt-To-Image.rar > modDrawDC.bas, change:2010-05-12,size:872b


Attribute VB_Name = "modDrawDC" 
Option Explicit 
 
Public Declare Function Init Lib "DrawDC.dll" (ByVal LocalWidth As Long, ByVal LocalBackColor As Long, ByVal LocalFontName As String, ByVal LocalFontSize As Long, ByVal LocalWordHeight As Long, ByVal LocalWordWidth As Long, ByVal LocalLeft As Long, ByVal LocalTop As Long, ByVal LocalRight As Long, ByVal LocalBottom As Long) As Long 
Public Declare Function Destory Lib "DrawDC.dll" () As Long 
Public Declare Function StringOut Lib "DrawDC.dll" (ByVal OutValue As String, ByVal FontColor As Long, ByVal FontBold As Long, ByVal FontItalic As Long, ByVal FontUnderline As Long, ByVal FontStrikethru As Long, ByVal FontName As String) As Long 
Public Declare Function NewLine Lib "DrawDC.dll" () As Long 
Public Declare Function GetBitmap Lib "DrawDC.dll" (ByRef BitmapWidth As Long, ByRef BitmapHeight As Long) As Long