PdfView1.Zoom := PdfView1.PageWidthZoom[1];
PageWidthZoom - TPdfView - PDFium Delphi Component
PDFium Delphi Component Docs

PageWidthZoom 속성

컴포넌트: TPdfView  ·  유닛: PDFium
페이지 너비가 view에 맞도록 하는 read-only zoom factor입니다

구문

property PageWidthZoom[PageNumber: Integer]: Double; // read only

설명

페이지 폭을 뷰에 맞추는 읽기 전용 줌 배율입니다

"Fit Width" 툴바 버튼을 만들 때 유용합니다

1 .. PageCount 범위의 1 기반 PageNumber를 넘기고, 반환된 확대 배율을 PdfView1.Zoom에 대입해 적용하세요

참고 사항

예제

begin
  PdfView1.PageWidthZoom := {value};
  PdfView1.Active := True;
  PdfView1.Zoom := PdfView1.PageWidthZoom[1];
end;

관련 항목

Active, Pdf, Options, Zoom