要启动标准PDF查看器,您只需启动外部流程:
Process proc = new Process( );
proc.StartInfo = new ProcessStartInfo( ) {
FileName = path //put your path here
};
proc.Start( );
Run Code Online (Sandbox Code Playgroud)
要在应用程序中显示文件,您必须将pdf查看器用作ActiveX组件.
| 归档时间: |
|
| 查看次数: |
4756 次 |
| 最近记录: |