PDFium Component Docs

LinkAnnotation 속성

이 API 항목은 식별자, 시그니처, 코드 블록, PDF 용어를 원래 형태로 유지합니다.
컴포넌트: TPdf  ·  유닛: PDFium
Indexed property — 지정한 index의 explicit /Annot Subtype Link를 반환합니다. target action 또는 destination을 포함합니다

구문

property LinkAnnotation[Index: Integer]: TLinkAnnotation; // read only

설명

지정한 index의 explicit /Annot Subtype Link를 반환하는 indexed read-only property입니다. target action 또는 destination을 포함합니다

ActiveTrue여야 합니다. index가 유효 범위를 벗어나면 결과는 정의되지 않습니다. 0 .. LinkAnnotationCount - 1 범위의 값을 넘기세요(또는 비 카운트 변형에서는 array의 Length를 사용하세요)

반환된 record는 호출 시점의 value를 스냅샷으로 담고 있으며, 이후 문서 편집은 이전에 반환된 record를 수정하지 않습니다

매개변수

IndexZero-based index in the range 0 .. LinkAnnotationCount - 1.

비고

예제

var
  I: Integer;
begin
  if not Pdf1.Active then Exit;
  for I := 0 to Pdf1.LinkAnnotationCount - 1 do
  begin
    // inspect Pdf1.LinkAnnotation[I]
    Memo1.Lines.Add(IntToStr(I));
  end;
end;

참고 항목

LinkAnnotationCount, WebLink, Annotation