package camlpdf
Read, write and modify PDF files
Install
Dune Dependency
Authors
Maintainers
Sources
v2.8.1.tar.gz
md5=93883956f317d4037341b6a0da8a6d03
sha512=baf16128dbe4b3bf1cc1c726976e083cd12113de6865a1d847f1e606bdc2570ce474076d5350d705dd22f538e21dd524d9e8bd56708fedd56df822be92be36a2
doc/camlpdf/Pdfannot/index.html
Module Pdfannot
Annotations
Annotation borders.
type subtype =
| Text
| Link
| FreeText
| Line
| Square
| Circle
| Polygon
| PolyLine
| Highlight
| Underline
| Squiggly
| StrikeOut
| Stamp
| Caret
| Ink
| Popup of t
| FileAttachment
| Sound
| Movie
| Widget
| Screen
| PrinterMark
| TrapNet
| Watermark
| ThreeDee
| Unknown of string
Annotation types
and t = {
subtype : subtype;
annot_contents : string option;
subject : string option;
rectangle : float * float * float * float;
border : border;
colour : (int * int * int) option;
annotrest : Pdf.pdfobject;
}
Annotations.
Return the annotations on a page in a document.
val make_border :
?vradius:float ->
?hradius:float ->
?style:style ->
?dasharray:int array ->
float ->
border
Make a border.
val make :
?content:string ->
?border:border ->
?rectangle:(float * float * float * float) ->
?colour:(int * int * int) ->
?subject:string ->
subtype ->
t
Make an annotation of a given subtype
.
val transform_annotations :
Pdf.t ->
Pdftransform.transform_matrix ->
Pdf.pdfobject ->
unit
Transform all annotations in a page dictionary, e.g /Rect
and /QuadPoints
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>