Foxit PDF SDK

Instance Methods | Properties | List of all members
FSPageBasicInfo Class Reference

Inherits NSObject.

## Instance Methods
(id) | - init
| Constructor.
(id) | - initWithPage_info:
| Constructor, with another page basic information object. More...
(id) | - initWithWidth:height:rotation:
| Constructor, with parameters. More...
(void) | - set:height:rotation:
| Set value. More...

## Properties
float | height
| Page height (unit is 1/72 inch).
FSRotation | rotation
| Page rotation. Please refer to values starting from FSRotation0 and this should be one of these values.
float | width
| Page width (unit is 1/72 inch).

## Detailed Description

This class represents page basic information, such as page width, page height, and page rotation. This is used as the return type of function FSPDFDoc::getPageBasicInfo:.

## Method Documentation

## ◆ initWithPage_info:()

- (id) initWithPage_info: |  | (FSPageBasicInfo*) | page_info |

Constructor, with another page basic information object.

Parameters

  [in] | page_info | Another page basic information object.

## ◆ initWithWidth:height:rotation:()

- (id) initWithWidth: |  | (float) | width
height: |  | (float) | height
rotation: |  | (FSRotation) | rotation

Constructor, with parameters.

Parameters

  [in] | width | Page width (unit is 1/72 inch).
  [in] | height | Page height (unit is 1/72 inch).
  [in] | rotation | Page rotation. Please refer to values starting from FSRotation0 and this should be one of these values except FSRotationUnknown.

## ◆ set:height:rotation:()

- (void) set: |  | (float) | width
height: |  | (float) | height
rotation: |  | (FSRotation) | rotation

Set value.

Parameters

  [in] | width | Page width (unit is 1/72 inch).
  [in] | height | Page height (unit is 1/72 inch).
  [in] | rotation | Page rotation. Please refer to values starting from FSRotation0 and this should be one of these values except FSRotationUnknown.

Returns
  None.