Referência de API do THPDFViewer e da facade carregada
Esta página lista os membros públicos de viewer, viewer model, viewer action e facade carregada disponíveis na interface da biblioteca
THPDFViewer
Use estes membros para hospedar o viewer VCL, controlar a navegação, conectar observers e expor o estado do viewer
RefreshDocument FirstPage PriorPage NextPage LastPage ZoomIn ZoomOut RotateClockwise RotateCounterClockwise ResetViewRotation ResetView HighlightRegion ClearHighlightRegions
AddDocumentChangeHandler RemoveDocumentChangeHandler
Model RenderError Align Anchors Color PDFDocument PageIndex PageNumber Zoom ZoomMode ViewRotation InteractionMode HighlightColor PrefetchRadius RenderAtPhysicalDPI
PrefetchRadius controla quantas páginas adjacentes são renderizadas no cache de fundo, enquanto RenderAtPhysicalDPI seleciona o DPI do monitor em vez da base legada de 96 DPI
OnPageChange OnDocumentChange OnHighlightChange OnSearchChange OnViewRotationChange OnZoomChange OnRenderError OnMarqueeSelect
THPDFViewerModel
Use o model sem criar uma janela quando navegação, busca, hit testing, snapshots ou impressão precisarem ser testados ou automatizados
BeginUpdate EndUpdate FirstPage PriorPage NextPage LastPage ZoomIn ZoomOut FindAll FindNext FindPrevious ClearSearch TryGetSearchHit TryGetActiveSearchHit
GetNextZoomLevel GetPreviousZoomLevel RotateClockwise RotateCounterClockwise ResetViewRotation ResetView ProcessKeyInput ProcessMouseWheel PagePointToView ViewPointToPage ApplyViewRotation
CreatePageSnapshot CreateCurrentPageSnapshot CreatePageThumbnail CreateCurrentPageThumbnail PrefetchPageSnapshots PrefetchCurrentPageSnapshots CreatePageRegionSnapshot CreateCurrentPageRegionSnapshot CreatePageMetafile CreateCurrentPageMetafile
DrawCurrentView PrintCurrentView SaveCurrentPageSnapshotToBMP SaveCurrentPageSnapshotToStream SaveCurrentPageSnapshot
AddHighlightRegion RemoveHighlightRegion ClearHighlightRegions TryGetHighlightRegion GetPageFormFieldIndices FindFormFieldAt FindNextFormField
Document PageCount PageIndex PageNumber Zoom ZoomMode ViewRotation SearchHitCount HighlightCount ActiveSearchHit UpdateCount
OnBeginUpdate OnEndUpdate OnHighlightChange OnPageChange OnZoomChange OnSearchChange OnViewRotationChange
THPDFViewerAction
Descendentes de Action usam o contrato padrão de actions da VCL para mirar em um viewer vinculado
ExecuteTarget HandlesTarget UpdateTarget Viewer
Actions de navegação: THPDFFirstPageAction, THPDFPriorPageAction, THPDFNextPageAction, THPDFLastPageAction
Actions de zoom: THPDFActualSizeAction, THPDFFitPageAction, THPDFFitWidthAction, THPDFZoomInAction, THPDFZoomOutAction
Actions de busca e de visualização: THPDFFindNextAction, THPDFClearSearchAction, THPDFRotateClockwiseAction, THPDFRotateCounterClockwiseAction, THPDFResetViewAction
Tipos de suporte do viewer
THPDFViewerZoomMode seleciona o comportamento de zoom fixo, ajustar à largura, ajustar à página, tamanho real ou zoom personalizado para THPDFViewer e THPDFViewerModel
THPDFViewerFormFieldIndices contém os índices de base zero de campos de formulário carregados retornados para uma página por GetPageFormFieldIndices
Coleções de facade carregadas
THPDFLoadedOutlineCollection fornece Count, TryGet e FindByTitle
THPDFLoadedFormCollection fornece Count, TryGet, TryGetByName, SetValue, SetReadOnly, Rename, Remove e Flatten
THPDFLoadedAnnotationCollection fornece Count, TryGet, Remove e Flatten
THPDFLoadedResourceCollection fornece FontCount, TryGetFont, ImageCount, TryGetImage e ExtractImage
THPDFLoadedDocumentFacade expõe Document, Outlines, Forms, Annotations e Resources
Tópicos relacionados
Kit de ferramentas de documentos carregados cobre exemplos de fluxo de trabalho e regras de posse
Métodos de snapshot de THPDFViewerModel cobre snapshots de bitmap e miniaturas
THPDFViewer Highlights and Marquee Selection cobre realces persistentes de regiões de página