NET용 DOC 변환기

DOC Converter for .NET에 대한 소개

DOC Converter for .NET은 개발자가 PDF 문서를 Word 파일 형식으로 변환 할 수있는 플러그인입니다.이 가이드는 사용 가능한 기능에 대한 개요를 제공하고 .Net에서 코드 예를 사용하여 일반적인 작업을 수행하는 방법을 설명합니다.

문서 변환

DOC Converter for .NET은 PDF 문서를 Word 문서와 같은 인기있는 파일 형식으로 변환하는 것을 지원합니다.

var inputPath = Path.Combine(@"C:\Samples\", "sample.pdf");
var outputPath = Path.Combine(@"C:\Samples\", "sample.docx");

// Create an instance of the PdfDoc plugin.
var plugin = new PdfDoc();

// Create an instance of the PdfToDocOptions class.
var options = new PdfToDocOptions
{
    SaveFormat = SaveFormat.DocX
};

// Add the input and output file paths to the options.
options.AddInput(new FileDataSource(inputPath));
options.AddOutput(new FileDataSource(outputPath));

// Process the PDF to Word conversion using the plugin and options.
var resultContainer = plugin.Process(options);

// Get the result from the result container.
var result = resultContainer.ResultCollection[0];

// Print the result.
Console.WriteLine(result);

지원되는 파일 형식

DOC Converter for .NET은 다음과 같은 입력 및 출력 파일 형식을 지원합니다.

  • 출처 : PDF
  • 출력 : DOC, DOCX

최고의 관행 및 문제 해결

.NET에 대한 DOC Converter를 사용할 때 최적의 성능을 보장하고 일반적인 문제를 피하기 위해 최상의 관행을 따르는 것이 좋습니다.

  • 올바른 파일 경로와 이름을 사용하십시오
  • 올바른 입력 및 출력 파일 형식을 지정합니다.
  • 필요에 따라 변환 옵션을 사용자 정의
 한국어