GetFacturXInvoiceInfo
문서 속성
설명
DetectFacturXInvoice가 인식한 전자 송장 필드를 읽습니다
구문
Delphi
Function TPDFlib.GetFacturXInvoiceInfo(Tag: Integer): WideString;
매개변수
| Tag | 읽을 필드 번호: 실제 XML 파일 이름은 1, XMP DocumentFileName은 2, DocumentType은 3, Version은 4, ConformanceLevel은 5, XML 지침 ID는 6, /AFRelationship은 7 |
|---|
반환 값
요청한 텍스트 필드이며, 전자 송장을 감지하지 못했거나 필드 번호를 알 수 없으면 빈 문자열
예제
// Read the detected invoice profile
begin
if PDF.DetectFacturXInvoice = 1 then
begin
FileName := PDF.GetFacturXInvoiceInfo(1);
Profile := PDF.GetFacturXInvoiceInfo(5);
end;
end;
참고 항목
DetectFacturXInvoice, ValidateFacturXInvoice, ExtractFacturXXMLToString