class Hpdf::Destination
- Hpdf::Destination
- Reference
- Object
Overview
The destination object specifies the view of the page to be displayed when the outline item or annotation is clicked. And the destination handle is used to operate destination object.
Included Modules
Defined in:
hpdf/destination.crConstructors
Instance Method Summary
-
#fit!
sets the appearance of the page to displaying entire page within the window.
-
#fit_b!
sets the appearance of the page to magnifying to fit the bounding box of the page within the window.
-
#fit_bh!(left : Number)
defines the appearance of a page to magnifying to fit the width of the page within the window and setting the top position of the page to the value of the "top" parameter.
-
#fit_bv!(top : Number)
defines the appearance of a page to magnifying to fit the height of the bounding box of the page within the window and setting the top position of the page to the value of the "top" parameter.
-
#fit_h!(top : Number)
defines the appearance of a page to magnifying to fit the width of the page within the window and setting the top position of the page to the value of the "top" parameter.
-
#fit_r!(left : Number, bottom : Number, right : Number, top : Number)
defines the appearance of a page to magnifying the page to fit a rectangle specified by left, bottom, right and top.
-
#fit_v!(left : Number)
defines the appearance of a page to magnifying to fit the height of the page within the window and setting the left position of the page to the value of the "left" parameter.
- #to_unsafe : LibHaru::Destination
-
#xyz!(left : Number, top : Number, zoom : Number)
defines the appearance of a page with three parameters which are left, top and zoom.
Instance methods inherited from module Hpdf::Helper
bool(val : Bool) : Int32
bool,
nilable_str(v : Pointer(UInt8)) : String | Nil
nilable_str,
real(val : Number) : LibHaru::Real
real,
uint(val : Number) : LibHaru::UInt
uint,
uint16(val : Number) : UInt16
uint16
Constructor Detail
Instance Method Detail
sets the appearance of the page to magnifying to fit the bounding box of the page within the window.
defines the appearance of a page to magnifying to fit the width of the page within the window and setting the top position of the page to the value of the "top" parameter.
- left the top coordinates of the page.
defines the appearance of a page to magnifying to fit the height of the bounding box of the page within the window and setting the top position of the page to the value of the "top" parameter.
- top the top coordinates of the page.
defines the appearance of a page to magnifying to fit the width of the page within the window and setting the top position of the page to the value of the "top" parameter.
- top the top coordinates of the page.
defines the appearance of a page to magnifying the page to fit a rectangle specified by left, bottom, right and top.
- left the left coordinates of the page.
- bottom the bottom coordinates of the page.
- right the right coordinates of the page.
- top the top coordinates of the page.
defines the appearance of a page to magnifying to fit the height of the page within the window and setting the left position of the page to the value of the "left" parameter.
- left the left coordinates of the page.
defines the appearance of a page with three parameters which are left, top and zoom.
- left the left coordinates of the page.
- top the top coordinates of the page.
- zoom the page magnified factor. The value must be between 0.08(8%) to 32(%).