HaruDestination::setFitR

(PECL haru >= 0.0.1) Set the appearance of the page to fit the specified rectangle bool HaruDestination::setFitR ( float $left, float $bottom, float $right, float $top ) Defines the appearance of the page to fit the rectangle by the parameters. Parameters: left The left coordinates of the page. bottom The bottom coordinates of the pa

HaruDestination::setFitH

(PECL haru >= 0.0.1) Set the appearance of the page to fit the window width bool HaruDestination::setFitH ( float $top ) Defines the appearance of the page to fit the window width and sets the top position of the page to the value of top. Parameters: top The top position of the page. Returns: Returns TRUE on success. Ex

HaruDestination::setFitBV

(PECL haru >= 0.0.1) Set the appearance of the page to fit the height of the boudning box bool HaruDestination::setFitBV ( float $left ) Defines the appearance of the page to magnifying to fit the height of the bounding box and setting the left position of the page to the value of left. Parameters: left The left coordinates of the page. Returns:

HaruDestination::setFitBH

(PECL haru >= 0.0.1) Set the appearance of the page to fit the width of the bounding box bool HaruDestination::setFitBH ( float $top ) Defines the appearance of the page to magnifying to fit the width of the bounding box and setting the top position of the page to the value of top. Parameters: top The top coordinates of the page. Returns: Retu

HaruDestination::setFitB

(PECL haru >= 0.0.1) Set the appearance of the page to fit the bounding box of the page within the window bool HaruDestination::setFitB ( void ) Defines the appearance of the page to fit the bounding box of the page within the window. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.

HaruDestination::setFit

(PECL haru >= 0.0.1) Set the appearance of the page to fit the window bool HaruDestination::setFit ( void ) Defines the appearance of the page to fit the window. Returns: Returns TRUE on success. Exception: Throws a HaruException on error.

HaruAnnotation::setOpened

(PECL haru >= 0.0.1) Set the initial state of the annotation bool HaruAnnotation::setOpened ( bool $opened ) Defines whether the annotation is initially displayed open. This function may be used with text annotations only. Parameters: opened TRUE means the annotation is initially displayed open, FALSE - means it's closed. Returns: Returns TRUE

HaruAnnotation::setIcon

(PECL haru >= 0.0.1) Set the icon style of the annotation bool HaruAnnotation::setIcon ( int $icon ) Defines the style of the annotation icon. This function may be used with text annotations only. Parameters: icon The style of the icon. Can take only these values: HaruAnnotation::ICON_COMMENT HaruAnnotation::ICON_KEY HaruAnnotation::ICON_NOTE HaruAnnotation::IC

HaruAnnotation::setHighlightMode

(PECL haru >= 0.0.1) Set the highlighting mode of the annotation bool HaruAnnotation::setHighlightMode ( int $mode ) Defines the appearance of the annotation when clicked. This function may be used with link annotations only. Parameters: mode The highlighting mode of the annotation. Can take only these values: HaruAnnotation::NO_HIGHLIGHT - no highlighting. HaruAnn

HaruAnnotation::setBorderStyle

(PECL haru >= 0.0.1) Set the border style of the annotation bool HaruAnnotation::setBorderStyle ( float $width, int $dash_on, int $dash_off ) Defines the style of the border of the annotation. This function may be used with link annotations only. Parameters: width The width of the border line. dash_on The dash style.