Skip to content
Lamina PDF
Docs
Search
Ctrl
K
Cancel
Select theme
Dark
Light
Auto
Menu
Start here
What is Lamina PDF
Install
Your first PDF
Use with coding agents
Your runtime
Browser and bundlers
Node
Deno
Bun
Cloudflare Workers
Rust
Concepts
How Lamina PDF thinks about a PDF
Pages and coordinates
Errors and warnings
What Lamina PDF writes and what it borrows
Create PDFs
Text and fonts
Shapes, colour and images
Links, outlines and metadata
Accessible PDFs
Archival PDFs
Read and edit PDFs
Edit a PDF
Save a PDF
Open password-protected files
Open files you don't trust
Production
Keep the page responsive
Recipes
All recipes
Hello, world
An invoice
Multilingual text
Images and vectors
Links and outlines
Generate, then edit
Extract text for an LLM
A PDF/UA report
A PDF/A archive
A PDF/A-3 invoice with XML
A 100-page report
Open someone else's file
Save in a Web Worker
A Cloudflare Worker
Troubleshooting
Reference
@laminapdf/sdk (TypeDoc)
Classes
Builder
Document
Font
Image
LaminaPdfError
Page
PageRef
PageText
PageTextRun
PendingPath
SaveJob
Surface
Transaction
Interfaces
BuilderOptions
ByteRange
ChunkOptions
Diagnostic
ExtractOptions
ExtractResult
FontInfo
HttpRangeOptions
InitOptions
Leak
Location
OpenOptions
OpLog
PageTextOptions
PathBuilder
QuadPoint
RangeOptions
RangeSource
StrokeStyle
TagSpec
TextBoxOptions
TextGlyph
TextOptions
WasmMemory
Type Aliases
AfRelationship
Align
ArtifactKind
AttachmentOptions
BlendMode
BoxRect
BuildOptions
Cell
Chunk
Color
Coordinates
Direction
DocumentInfo
Dropped
DropReason
Edited
ErrorCode
ErrorKind
ExtractedBlock
ExtractedPage
ExtractedSource
ExtractFormat
Extraction
FillRule
Fit
Flags
Generator
GlyphQuad
InfoPatch
LaminaPdfWarning
LimitName
Limits
LineBox
LineCap
LineJoin
LinkTarget
Metadata
Op
OutlineEntry
Overflow
PageInfo
PageLabel
PageSizeName
Point
Profile
Progress
Rect
Region
RenderMode
Rotation
SaveOptions
SaveReport
Span
Standard14
StructRef
StructSource
TableDetector
TableScope
Tag
TagName
TextLayout
TextRange
TextRunInfo
Transform
UndoOutcome
ViewerPreferences
WarningCode
WasmSource
Variables
Matrix
PAGE_SIZES
TAG_NAMES
Functions
callbackSource
httpRangeSource
init
isExtractLoaded
isInitialized
isLaminaPdfError
isTextLoaded
loadExtract
loadText
onLeak
reset
wasmMemory
References
ReadingOrder
SplitOn
TableMode
Rust API (rustdoc)
Error and warning codes
Stability policy
Changelog
Glossary
Docs
Select theme
Dark
Light
Auto
Flags
Flags
=
DropReason
[]
Why a run would be hidden from a reader; empty for visible text.