PDFium Delphi Component Docs

ViewerPreference 속성

컴포넌트: TPdf  ·  유닛: PDFium
인덱스 속성 — /ViewerPreferences 키(NumCopies, PrintScaling 등)의 정수 값을 반환합니다

Syntax

property ViewerPreference: Integer; // read only

Description

/ViewerPreferences 키(NumCopies, PrintScaling 등)의 정수 값을 반환하는 indexed 읽기 전용 프로퍼티입니다

Active가 True여야 합니다. 인덱스가 유효 범위를 벗어나면 결과는 정의되지 않으므로 0 .. - 1 범위의 값을 넘기세요(카운트가 없는 변형은 배열의 Length를 사용)

반환 레코드는 호출 시점 값의 스냅샷이며, 이후 문서를 편집해도 이미 반환된 레코드는 바뀌지 않습니다

Remarks

Example

var
  Items: Integer;
begin
  if Pdf1.Active then
  begin
    Items := Pdf1.ViewerPreference;
    Memo1.Lines.Add('count: ' + IntToStr(Length(Items)));
  end;
end;

See Also

PageMode