Sha256: ede5ab1543f12a5604ada9fb75c5d6a496dd84bd04f9b21b59b984f6b17bcaa1

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

require_relative './lib/fast_excel'

workbook = FastExcel.open("ffi_example_image.xlsx", constant_memory: false)
worksheet = workbook.add_worksheet

img_options = Libxlsxwriter::ImageOptions.new
img_options[:x_offset] = 0
img_options[:y_offset] = 0

worksheet.insert_image_opt(3, 3, "libxlsxwriter/examples/logo.png", img_options)

workbook.close

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fast_excel-0.2.0 examples/example_image.rb