Class ImageConverter

참고

템플릿 파일을 PDF로 변환하는 변환기입니다.

public class ImageConverter

상속

objectImageConverter

상속된 구성원

예제

 1private class MyImageSaveOptions : ImageSaveOptions
 2{
 3    private const string ResultBase = "result/images/";
 4    public override Stream GetStream(int pageIndex)
 5    {
 6        return File.Create(ResultBase + "res_" + pageIndex + ".png");
 7    }
 8}
 9ImageConverter converter = new ImageConverter();
10LoadOptions loadOptions = new LoadOptions();
11loadOptions.InputFile = "Template.xlsx";
12ImageSaveOptions saveOptions = new MyImageSaveOptions();
13converter.Process(loadOptions, saveOptions);

생성자

ImageConverter()

public ImageConverter()

메서드

Process(LoadOptions, ImageSaveOptions)

템플릿 파일을 이미지로 변환합니다.

public void Process(LoadOptions loadOptions, ImageSaveOptions saveOptions)

매개변수

  • loadOptions LoadOptions: 입력 및 로딩에 대한 옵션입니다.
  • saveOptions ImageSaveOptions: 출력 및 저장에 대한 옵션입니다.

Namespace: Sheetize Assembly: Sheetize.dll

 한국어