Method Cairo.PDFSurface()->restrict_to_version()
- Method
restrict_to_version
void
restrict_to_version(int
version
)- Description
Restricts the generated PDF file to
version
.This function should only be called before any drawing operations have been performed on the given surface. The simplest way to do this is to call this function immediately after creating the surface.
- Parameter
version
PDF version