Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共1 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[求助]导出PDF保存的问题

1楼
2425004926 发表于:2020/10/30 11:08:00
两个问题:
1.标题和目录框中间的距离好长呀
2.多次导出时如何设置一下本地电脑里的某个文件夹


Dim dlg As New FolderBrowserDialog  '保存目录
'dlg.Filter = "PDF文件|*.pdf"
If dlg.ShowDialog = DialogResult.Ok Then
    Dim t As Integer
    For t = 1 To 1000
        If FileSys.FileExists(dlg.SelectedPath & "\照片目录" & t & ".pdf") Then
            Continue For
        Else
            Dim fl As String = dlg.SelectedPath & "\照片目录" & t & ".pdf"
            doc.SavePDF(fl) '保存为PDF文件
            Dim Proc As New Process '打开PDF文件
            Proc.File = fl
            Proc.Start()
            Exit For
        End If
    Next


图片点击可在新窗口打开查看此主题相关图片如下:1604026577(1).png
图片点击可在新窗口打开查看


共1 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .03125 s, 2 queries.