DetectPageBarcodesJSONA

Streepjescodeherkenning, documentinspectie, rendering

Beschrijving

ANSI-variant van DetectPageBarcodesJSON

Accepteert stringparameters als ANSI-tekst en gedraagt zich verder identiek aan het wide-string-entrypoint

Syntaxis

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 String

DLL

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);

Retourwaarden

Geeft een JSON-object terug met de pagina, effectieve DPI, aangevraagde regio, resultaataantal en resultaatobjecten met formatName, text, inhoudstype, symbologie-identificator, foutcorrectieniveau, oriƫntatie, geldigheidsvlaggen, vier hoekpunten in paginaruimte en begrenzing

Geeft een lege string terug wanneer validatie, rendering, het laden van de backend of herkenning mislukt

Opmerkingen

De methode rendert alleen de aangevraagde regio naar een begrensde BGR-bitmap van boven naar beneden en herstelt de eerder geselecteerde pagina voordat hij terugkeert

Zet PDFlibBarcode32.dll of PDFlibBarcode64.dll naast het uitvoerbare bestand van de host, de PDFlib-DLL of de ActiveX-module, afhankelijk van de procesarchitectuur; PDFLIB_BARCODE_READER kan een alternatief absoluut backendpad opgeven

LastErrorCode is 115 bij ongeldige pagina, geometrie, maskers, resolutie of limieten en 519 bij rendering-, backend- of herkenningsfouten

Zie ook

RenderPageRegionToFile, DrawBarcode, LastErrorCode