FoxitPDFSDKforWeb v11.0.1
Foxit PDF SDK for Web
ZoomFitHorzDestinationData Class Reference

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

Foxit Software Corporation Logo
@2025 Foxit Software Incorporated. All rights reserved.