enum Cairo::PdfVersion
Overview
PdfVersion
is used to describe the version number of the
PDF specification that a generated PDF file will conform to.
Defined in:
cairo/pdf_version.crEnum Members
-
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 Method Summary
-
#to_string : String
Get the string representation of the given version id.
- #v_1_4?
- #v_1_5?
Instance Method Detail
def to_string : 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.