DetectPageBarcodesJSONA
바코드 인식, 문서 검사, 렌더링
설명
DetectPageBarcodesJSON의 ANSI 변형
문자열 매개변수를 ANSI 텍스트로 받고 그 밖의 동작은 넓은 문자열 진입점과 동일함
구문
Delphi
Function TPDFlib.DetectPageBarcodesJSON(Page: Integer;
Left, Top, Width, Height, DPI: Double; Formats: Integer= 0;
Options: Integer= 0; MaxResults: Integer= 32): WideString;ActiveX
Function PDFlib::DetectPageBarcodesJSON(Page As Long,
Left As Double, Top As Double, Width As Double, Height As Double,
DPI As Double, Formats As Long, Options As Long,
MaxResults As Long) As StringDLL
const wchar_t* DLDetectPageBarcodesJSON(int InstanceID, int Page,
double Left, double Top, double Width, double Height, double DPI,
int Formats, int Options, int MaxResults);
const char* DLDetectPageBarcodesJSONA(int InstanceID, int Page,
double Left, double Top, double Width, double Height, double DPI,
int Formats, int Options, int MaxResults);반환 값
페이지, 유효 DPI, 요청 영역, 결과 수 및 formatName, text, 콘텐츠 유형, 기호 체계 식별자, 오류 수정 수준, 방향, 유효성 플래그, 페이지 공간 모서리 점 네 개 및 경계가 포함된 결과 개체를 담는 JSON 개체를 반환합니다
검증, 렌더링, 백엔드 로드 또는 인식에 실패하면 빈 문자열을 반환합니다
비고
이 메서드는 요청한 영역만 제한된 Top-down BGR 비트맵으로 렌더링하고 반환하기 전에 이전에 선택한 페이지를 복원함
프로세스 아키텍처에 따라 PDFlibBarcode32.dll 또는 PDFlibBarcode64.dll을 호스트 실행 파일, PDFlib DLL 또는 ActiveX 모듈 옆에 배포합니다. PDFLIB_BARCODE_READER로 대체 절대 백엔드 경로를 지정할 수 있습니다
페이지, 도형, 마스크, 해상도 또는 제한이 유효하지 않으면 LastErrorCode는 115이고 렌더링, 백엔드 또는 인식 실패 시 519입니다