Struct pdf_writer::writers::Destination [−][src]
pub struct Destination<'a> { /* fields omitted */ }
Expand description
Writer for a destination array.
This struct is created by Destinations::insert
and
Action::destination_direct
.
Implementations
Write the /XYZ
command which skips to the specified coordinated.
Write the /FitH
command which fits the referenced page to the screen
width and skips to the specified offset.
Write the /FitV
command which fits the referenced page to the screen
height and skips to the specified offset.
Write the /FitR
command which fits the rectangle argument on the
screen.
Write the /FitB
command which fits all of the referenced page’s
content on screen. PDF 1.1+.
Write the /FitBH
command which fits the referenced page’s content to
the screen width and skips to the specified offset. PDF 1.1+.
Write the /FitBV
command which fits the referenced page’s content to
the screen height and skips to the specified offset. PDF 1.1+.
Methods from Deref<Target = Array<'a>>
Write an item with a primitive value.
This is a shorthand for array.push().primitive(value)
.
Write a sequence of items with primitive values.