| FoxitPDFSDKforWeb v11.0.6 Archives Foxit PDF SDK for Web

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

Destination data for zooming to fit the width of the bounding box of the page contents to the window. The `top` parameter specifies the vertical distance from the page origin to the top edge of the window. 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.ZoomFitBHorz. More...

## Detailed Description

Destination data for zooming to fit the width of the bounding box of the page contents to the window. The `top` parameter specifies the vertical distance from the page origin to the top edge of the window.

Note
  Unlike ZoomFitHorz which fits the entire page width, ZoomFitBHorz only fits the width of the bounding box of the page contents, potentially providing a tighter zoom focused on the actual content. ZoomFitBHorzDestinationData

Since
  11.0.0

## Member Data Documentation

## ◆ zoomMode

ZoomMode ZoomFitBHorzDestinationData::zoomMode

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

See also
  ZoomMode.ZoomFitBHorz

@2025 Foxit Software Incorporated. All rights reserved.