module Cpdfaddtext:sig..end
Adding text
type colour =
| |
Grey of |
| |
RGB of |
| |
CYMK of |
Colours
val colour_op : colour -> Pdfops.tBuild a colour operation for filling with the given colour.
val colour_op_stroke : colour -> Pdfops.tBuild a colour operation for filing with the given colour
type justification =
| |
LeftJustify |
| |
CentreJustify |
| |
RightJustify |
Justification of multiline text
type rotation =
| |
Rot0 |
| |
Rot90 |
| |
Rot180 |
| |
Rot270 |
Rotation
val addtexts : float ->
bool ->
bool ->
string ->
Cpdfembed.cpdffont ->
int ->
int option ->
colour ->
Cpdfposition.position ->
float ->
float ->
bool ->
string ->
int list ->
string ->
float ->
justification ->
bool ->
bool ->
rotation ->
string -> string -> ?raw:bool -> bool -> Pdf.t -> Pdf.tCall add_texts linewidth outline fast fontname font bates batespad colour
position linespacing fontsize underneath text range box opacity justification
midline topline rotation filename shift raw url_border pdf. For details see
cpdfmanual.pdf
val addrectangle : bool ->
string ->
colour ->
bool ->
float ->
float ->
Cpdfposition.position -> string -> bool -> int list -> Pdf.t -> Pdf.tAdd a rectangle to the given pages. addrectangle fast coordinate colour outline linewidth opacity position relative_to_cropbox underneath range pdf.