Sha256: b1022b134934e7aa215455fb64b462cbc3c7aa031fcbc5682ca59e6dc6ff7e22

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

# frozen_string_literal: true

require_relative './xlsx_func_testcase'

class TestPrintScale < XlsxWriterTestCase
  test 'print_scale01' do |wb, t|
    t.ignore_elements = { 'xl/worksheets/sheet1.xml' => ['<pageMargins'] }
    ws = wb.add_worksheet
    ws.print_scale = 75
    ws.paper = 9
    ws.vertical_dpi = 200
    ws.write_string(0, 'A', 'Foo', nil)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xlsxwriter-0.2.2 test/test_print_scale.rb