欢迎使用 Convert
Agent API 开发接口 |
ConvertAgent API ---
高速度高质量的文档转换接口 |
作为一个系统集成开发商,绝对不会满足仅限使用手动打印方式来转换文档。
您完全可以将 ConvertAgent API集成到您的程序当中,区区几行代码便可助您快速完成高质量文档转换。
|
Example( VC++ ): ConvertAgent
C++ library Interface |
CConvertAgent *pConvertEngine = NULL;
pConvertEngine = new CConvertAgent();
if(pConvertEngine)
{
iRet = pConvertEngine->InitAgent("FaxServer Printer",
300, "Demo","Demo");
if(iRet == SM_SUCCESS)
{
iRet = pConvertEngine->ConvertDoc(pszInput,pszOutput);
}
}
if(pConvertEngine)
{
delete pConvertEngine;
pConvertEngine = NULL;
} |
|
Example( VB.net ):
ConvertAgent COM-Interface |
Dim ConvertEngine As New CONVERTAGENTLib.ConverAgent
Try
ConvertEngine.InitAgent("FaxServer Printer", 300,
"domo", "domo")
ConvertEngine.ConvertDoc(szInput.Text, szOutput.Text)
ConvertEngine.CleanAgent();
Catch ex As Exception
End Try
|
|
Example( C#.net ):
ConvertAgent COM-Interface |
CONVERTAGENTLib.ConverAgent ConvertEngine =null;
ConvertEngine = new ConverAgent();
ConvertEngine.InitAgent("FaxServer Printer", 300,
"demo", "demo");
ConvertEngine.ConvertDoc(szInput.Text, szOutput.Text);
ConvertEngine.CleanAgent(); |
|
ConvertAgent API提供2种接口供开发人员使用:
1.ConverAgent COM-Interface
2.C++ Library Interface
ConverAgent API Sample文档转换接口 调用范例:
见安装目录:
1.VC++Sample: FaxServerPrinter\SDK Examples\VC++\ConvertAgentDemo
2.VB COM Sample: FaxServerPrinter\ VB.NET(COM)\ConverAgentDemo
3.C# COM Sample: FaxServerPrinter\ C#.NET(COM) \ConverAgentDemo
|
|