Update 20241112
This commit is contained in:
21
DOCGEN_sik/Print.cs
Normal file
21
DOCGEN_sik/Print.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using OfficePrinter;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Security.Policy;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using OfficePrinter;
|
||||
|
||||
namespace DOCGEN
|
||||
{
|
||||
public class print
|
||||
{
|
||||
public Boolean printWord()
|
||||
{
|
||||
OfficePrinter.OnDocOffice onDocOffice = new OfficePrinter.OnDocOffice();
|
||||
onDocOffice.PrintWordToPDF(@"X:\docdemo\0FNH8OFO.docx", @"X:\docdemo\0FNH8OFO.docx.pdf");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user