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 alojar el visor 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 caché de fondo, mientras que RenderAtPhysicalDPI selecciona el DPI del monitor en lugar de la línea base clásica 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, las instantáneas 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 las acciones 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 vista: THPDFFindNextAction, THPDFClearSearchAction, THPDFRotateClockwiseAction, THPDFRotateCounterClockwiseAction, THPDFResetViewAction

Tipos de soporte del visor

THPDFViewerZoomMode selecciona el comportamiento de zoom fijo, ajustar al ancho, ajustar a la página, tamaño real o zoom personalizado para THPDFViewer y THPDFViewerModel

THPDFViewerFormFieldIndices contiene los índices base cero de campos de formulario cargados que GetPageFormFieldIndices devuelve para una página

Colecciones de fachadas cargadas

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

Kit de herramientas de documentos cargados cubre ejemplos de flujos de trabajo y reglas de propiedad

THPDFViewerModel Snapshot Métodos cubre instantáneas de bitmap y miniaturas

THPDFViewer Resaltados y selección de marquesina cubre los resaltados persistentes de regiones de página