| FoxitPDFSDKforWeb v11.0.5 Archives Foxit PDF SDK for Web

Public Attributes | List of all members
ZoomFitHorzDestinationData Class Reference
PDF » actions

Destination data for zooming to fit the width of the page to the window. The `top` parameter specifies the vertical distance from the page origin to the top edge of the window. This is equivalent to using a fit rect destination with a rectangle that spans the full width of the page, where both y-coordinates are set to the specified `top` value. ZoomFitHorzDestinationData. More...

## Public Attributes
number | pageIndex
| The index of the page to which the zoom should be applied. number.
number | top
| The vertical position from the top to zoom into. number.
ZoomMode | zoomMode
| Specifies the zoom mode to fit the width of the page horizontally, always set to ZoomMode.ZoomFitHorz. More...

## Detailed Description

Destination data for zooming to fit the width of the page to the window. The `top` parameter specifies the vertical distance from the page origin to the top edge of the window. This is equivalent to using a fit rect destination with a rectangle that spans the full width of the page, where both y-coordinates are set to the specified `top` value. ZoomFitHorzDestinationData.

Since
  11.0.0

## Member Data Documentation

## ◆ zoomMode

ZoomMode ZoomFitHorzDestinationData::zoomMode

Specifies the zoom mode to fit the width of the page horizontally, always set to ZoomMode.ZoomFitHorz.

See also
  ZoomMode.ZoomFitHorz

@2025 Foxit Software Incorporated. All rights reserved.