PDF 生成模板编辑器
开源可视化 PDF 生成引擎,支持自定义模板,并提供面向开发者的 API,灵活构建文档生成流程。
完成编辑后,您可以使用PDFToolManager的SetMouseMode来退出编辑模式。要保存更改,可使用 WriteToLoadedPath 或 WriteToFilePath 保存修改后的文档。
// 退出编辑模式至PanTool模式。
toolManager.SetToolType(ToolType.Pan);
if(tool.IsDocumentModified)
{
// 保存更改到本地文档。
doc.WriteToLoadedPath();
}