Method: RBPDF#Open

Defined in:
lib/rbpdf.rb

#OpenObject

This method begins the generation of the PDF document. It is not necessary to call it explicitly because AddPage() does it automatically.

  • Note: no page is created by this method [@access public] [@since 1.0] [@see] AddPage(), Close()


1549
1550
1551
1552
# File 'lib/rbpdf.rb', line 1549

def Open()
  #Begin document
  @state = 1
end