package camlpdf

  1. Overview
  2. Docs
Read, write and modify PDF files

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v2.9.tar.gz
md5=ec43131411388cab3ed5e936859497d3
sha512=1138361140e66ba94b93dbe70133f7471d3b027cd05fcef87f3349d724e06a1748dbef194c1df0965f8d08500531aa2d97b41d058e651bbb249ec59e0b8fb5fe

doc/camlpdf/Pdfpaper/index.html

Module Pdfpaper

Media Sizes

type t

A paper size consists of its unit, width and height.

val make : Pdfunits.t -> float -> float -> t

Make a paper size given its unit, width and height.

val unit : t -> Pdfunits.t

Project the unit from a paper size

val width : t -> float

Project the width from a paper size.

val height : t -> float

Project the height from a paper size.

val landscape : t -> t

Flip a paper size between landscape and portrait, swapping its dimensions.

val a0 : t
val a1 : t
val a2 : t
val a3 : t
val a4 : t
val a5 : t
val a6 : t
val a7 : t
val a8 : t
val a9 : t
val a10 : t

ISO A series paper sizes, portrait.

val usletter : t
val uslegal : t

United States paper sizes. portrait.