Sha256: 69eb00206c52e9af478031a63c3bb203bccd03bd511412f0e0683df984ffb8ae
Contents?: true
Size: 353 Bytes
Versions: 76
Compression:
Stored size: 353 Bytes
Contents
# # Hello World # # This simple example mimics the classic "hello world" examples from # programming languages. # # Usage: # : `ruby hello_world.rb` # require 'hexapdf' doc = HexaPDF::Document.new canvas = doc.pages.add.canvas canvas.font('Helvetica', size: 100) canvas.text("Hello World!", at: [20, 400]) doc.write("hello_world.pdf", optimize: true)
Version data entries
76 entries across 76 versions & 1 rubygems