这是我录制的打开的导出JPG的宏:
Sub Macro1()
'
' Recorded 2008-6-2
'
' Description:
'
'
Dim doc1 As Document
Set doc1 = OpenDocument("C:/Documents and Settings/becky/桌面/Temp/001.cdr")
Dim expflt As ExportFilter
Set expflt = doc1.ExportBitmap("C:/Documents and Settings/becky/桌面/Temp/002.jpg", cdrJPEG, cdrAllPages, cdrRGBColorImage, 1873, 2402, 300, 300, cdrNormalAntiAliasing, False, False, True, False, cdrCompressionNone)
With expflt
.Progressive = False
.Optimized = False
.SubFormat = 0
.Compression = 10
.Smoothing = 10
.Finish
End With
doc1.Close
End Sub
不知道用DELPHI怎么写啊?!!