package camlpdf
Read, write and modify PDF files
Install
Dune Dependency
Authors
Maintainers
Sources
v2.8.tar.gz
md5=878c5f0e655bc101eb4c43c04843b8af
sha512=a1e47003876494932a4a584f8e20f9d99085044cedf418997be97198b28f49ec026e97530b691afc2722e021d19e8327a1f0155e7e231262a362d722683ac1c4
doc/camlpdf/Pdfdest/index.html
Module Pdfdest
Destinations
The target of a destination is either a page object in the same PDF (given by object number of page object), or a page number in an external file.
type t =
| Action of Pdf.pdfobject
| NullDestination
| NamedDestinationElsewhere of string
| XYZ of targetpage * float option * float option * float option
| Fit of targetpage
| FitH of targetpage * float option
| FitV of targetpage * float option
| FitR of targetpage * float * float * float * float
| FitB of targetpage
| FitBH of targetpage * float option
| FitBV of targetpage * float option
Destinations (and actions)
val read_destination : Pdf.t -> Pdf.pdfobject -> t
Read a destination given a PDF and destionation object.
val pdfobject_of_destination : t -> Pdf.pdfobject
Write a destination to a Pdf.pdfobject
.
val transform_destination : Pdftransform.transform_matrix -> t -> t
Transform a destination by a matrix
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>