enum

Cairo::PdfVersion

Inherits Enum / Comparable / Value / Object

PdfVersion is used to describe the version number of the PDF specification that a generated PDF file will conform to.

Constants

V_1_4 = 0

The version 1.4 of the PDF specification.

V_1_5 = 1

The version 1.5 of the PDF specification.

Instance methods

to_string

Get the string representation of the given version id. This function will return nil if version isn't valid. See PdfSurface#versions for a way to get the list of valid version ids.

###Returns The string associated to given version.

Source
v_1_4?

Returns true if this enum value equals V_1_4

Source
v_1_5?

Returns true if this enum value equals V_1_5

Source