Referencia de API de THPDFViewer y la fachada de documento cargado
Resumen del método: Referencia de API de THPDFViewer y la fachada de documento cargado
THPDFViewer
Use estos miembros para hospedar el visor de VCL, controlar la navegación, conectar observadores y exponer el estado del visor
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 cuántas páginas adyacentes se renderizan en la cache de fondo, mientras que RenderAtPhysicalDPI selecciona el DPI del monitor en lugar de la base heredada de 96 DPI
OnPageChange OnDocumentChange OnHighlightChange OnSearchChange OnViewRotationChange OnZoomChange OnRenderError OnMarqueeSelect
THPDFViewerModel
Use el modelo sin crear una ventana cuando deban probarse o automatizarse la navegación, la búsqueda, el hit testing, los snapshots o la impresión
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
Los descendientes de acción usan el contrato estándar de acciones de VCL para apuntar a un visor vinculado
ExecuteTarget HandlesTarget UpdateTarget Viewer
Acciones de navegación: THPDFFirstPageAction, THPDFPriorPageAction, THPDFNextPageAction, THPDFLastPageAction
Acciones de zoom: THPDFActualSizeAction, THPDFFitPageAction, THPDFFitWidthAction, THPDFZoomInAction, THPDFZoomOutAction
Acciones de búsqueda y de vista: THPDFFindNextAction, THPDFClearSearchAction, THPDFRotateClockwiseAction, THPDFRotateCounterClockwiseAction, THPDFResetViewAction
Tipos de soporte del visor
THPDFViewerZoomMode selects fixed zoom, fit width, fit page, actual size, or custom zoom behaviour for THPDFViewer and THPDFViewerModel
THPDFViewerFormFieldIndices contiene los índices de campos de formulario cargados, basados en cero, que devuelve GetPageFormFieldIndices para una página
Colecciones de la fachada cargada
THPDFLoadedOutlineCollection proporciona Count, TryGet y FindByTitle
THPDFLoadedFormCollection proporciona Count, TryGet, TryGetByName, SetValue, SetReadOnly, Rename, Remove y Flatten
THPDFLoadedAnnotationCollection proporciona Count, TryGet, Remove y Flatten
THPDFLoadedResourceCollection proporciona FontCount, TryGetFont, ImageCount, TryGetImage y ExtractImage
THPDFLoadedDocumentFacade expone Document, Outlines, Forms, Annotations y Resources
Temas relacionados
Toolkit de documentos cargados cubre ejemplos de flujo de trabajo y reglas de propiedad
Métodos de instantáneas de THPDFViewerModel abarca las instantáneas de mapa de bits y las miniaturas
Resaltados y selección de marquesina de THPDFViewer abarca los resaltados persistentes de regiones de página