com.foxit.sdk.pdf.LayerZoomData Class Reference

Public Member Functions

 LayerZoomData ()
 Constructor.

 
 LayerZoomData (float min_factor, float max_factor)
 Constructor, with parameters. More...
 
 LayerZoomData (LayerZoomData data)
 Constructor, with another LayerZoomData object. More...
 
float getMax_factor ()
 Get the magnification factor below which the group should be ON. More...
 
float getMin_factor ()
 Get the minimum recommended magnification factor at which the group should be ON. More...
 
void set (float min_factor, float max_factor)
 Set value. More...
 
void setMax_factor (float value)
 Set the magnification factor below which the group should be ON. More...
 
void setMin_factor (float value)
 Set the minimum recommended magnification factor at which the group should be ON. More...
 

Detailed Description

This class represents data for PDF layer zooming usage.

Constructor & Destructor Documentation

◆ LayerZoomData() [1/2]

com.foxit.sdk.pdf.LayerZoomData.LayerZoomData ( float  min_factor,
float  max_factor 
)

Constructor, with parameters.

Parameters
min_factorThe minimum recommended magnification factor, in float. A negative number means no minimum zoom factor.
max_factorThe magnification factor, in float. A negative number means no magnification zoom factor.

◆ LayerZoomData() [2/2]

com.foxit.sdk.pdf.LayerZoomData.LayerZoomData ( LayerZoomData  data)

Constructor, with another LayerZoomData object.

Parameters
dataAnother LayerZoomData object.

Member Function Documentation

◆ getMax_factor()

com.foxit.sdk.pdf.LayerZoomData.getMax_factor ( )

Get the magnification factor below which the group should be ON.

Returns
The magnification factor below which the group should be ON. A negative number means no magnification zoom factor.

◆ getMin_factor()

com.foxit.sdk.pdf.LayerZoomData.getMin_factor ( )

Get the minimum recommended magnification factor at which the group should be ON.

Returns
The minimum recommended magnification factor at which the group should be ON. A negative number means no minimum zoom factor.

◆ set()

void com.foxit.sdk.pdf.LayerZoomData.set ( float  min_factor,
float  max_factor 
)

Set value.

Parameters
min_factorThe minimum recommended magnification factor, in float. A negative number means no minimum zoom factor.
max_factorThe magnification factor, in float. A negative number means no magnification zoom factor.
Returns
None.

◆ setMax_factor()

com.foxit.sdk.pdf.LayerZoomData.setMax_factor ( float  value)

Set the magnification factor below which the group should be ON.

Parameters
[in]max_factorThe magnification factor below which the group should be ON. A negative number means no magnification zoom factor.
Returns
None.

◆ setMin_factor()

com.foxit.sdk.pdf.LayerZoomData.setMin_factor ( float  value)

Set the minimum recommended magnification factor at which the group should be ON.

Parameters
[in]min_factorThe minimum recommended magnification factor at which the group should be ON. A negative number means no minimum zoom factor.
Returns
None.

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