Documentation Index Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
Use this file to discover all available pages before exploring further.
이 객체는 PDF 문서에 추가된 사용자 정의 이미지(PDFPicture 객체) 컬렉션을 나타냅니다. 이 객체에는 컬렉션에 포함된 이미지 수를 가져오고, 컬렉션의 개별 요소에 접근하고, 컬렉션을 반복 순회하는 method가 포함되어 있습니다. 이 컬렉션은 PDFExportParams 객체를 통해 액세스할 수 있습니다.
PDF로 내보낼 때 ABBYY FineReader Engine은 이미지의 투명도를 유지하지 않습니다.
ABBYY FineReader Engine 컬렉션의 인덱스는 0부터 시작합니다.
C#의 foreach 문(Visual Basic .NET에서는 for each)을 사용하여 컬렉션을 조작할 수 있습니다.
이름 유형 설명 Application 엔진 , 읽기 전용 엔진 객체를 반환합니다. Count int , 읽기 전용컬렉션에 포함된 요소 수를 저장합니다. Element PDFPicture , 읽기 전용 컬렉션의 개별 요소에 액세스할 수 있습니다.
이름 설명 AddNew 새 PDFPicture 객체를 만들고 컬렉션에 추가합니다. DeleteAll 컬렉션의 모든 요소를 제거합니다. DeleteAt 컬렉션에서 요소를 제거합니다. Item 컬렉션의 개별 요소에 액세스할 수 있습니다.
객체 다이어그램
이 샘플은 이미지를 PDF 형식으로 내보내는 방법을 보여줍니다.
// PDF 내보내기 매개변수 생성
CSafePtr < IPDFExportParams > pdfExportParams;
CheckResult ( FREngine -> CreatePDFExportParams ( & pdfExportParams ) );
// PDF 이미지 컬렉션 가져오기
CSafePtr < IPDFPictures > pictures;
CheckResult ( pdfExportParams -> get_PDFPictures ( & pictures ) );
// 기존 컬렉션에 PDF 이미지 추가
CSafePtr < IPDFPicture > picture;
CheckResult ( pictures -> AddNew ( & picture ) );
// 오프셋 설정
CSafePtr < IPoint > offset;
CheckResult ( FREngine -> CreatePoint ( 10 , 10 , & offset ) );
CheckResult ( picture -> SetLocation ( offset, 0 ) );
// 이미지에서 이미지 문서 가져오기
CSafePtr < IFRDocument > pictureDocument;
CheckResult ( FREngine -> CreateFRDocument ( & pictureDocument ) );
CheckResult ( pictureDocument -> AddImageFile ( pictureFilePath ) );
CSafePtr < IFRPages > frPages;
CheckResult ( pictureDocument -> get_Pages ( & frPages ) );
CSafePtr < IFRPage > frPage;
CheckResult ( frPages -> get_Element ( 0 , & frPage ) );
CSafePtr < IImageDocument > imageDocument;
CheckResult ( frPage -> get_ImageDocument ( & imageDocument ) );
// 이미지 문서 설정
CheckResult ( picture -> put_Image ( imageDocument ) );
// PDF로 내보내기
CheckResult ( frDocument -> Export ( resultFilePath, FEF_PDF, pdfExportParams ) );
PDFPicture
컬렉션 다루기
속성 다루기