Skip to content

Commit

Permalink
fix Worksheet#insert_image document.
Browse files Browse the repository at this point in the history
  • Loading branch information
cxn03651 committed May 5, 2024
1 parent 12afdff commit d4fee85
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions worksheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,11 @@ The image can be in PNG, JPEG or BMP format.
worksheet2.insert_image('A1', '../images/ruby.bmp')
worksheet3.insert_image('A1', '.c:\images\ruby.bmp')

The `options` parameter can be used to set various options for the image. The defaults are:
This is the equivalent of Excel's menu option to insert an image using the option to "Place over Cells".
See `embed_image()` below for the equivalent method to "Place in Cell".

The optional `options` parameter can be used to set various options for the image.
The defaults are:

options = {
x_offset: 0,
Expand Down Expand Up @@ -1024,7 +1028,7 @@ For older versions of Excel a `#VALUE!` error is displayed.

See `insert_image()` for the equivalent method to "Place over Cells".

The optional `options` hash parameter can be used to set various options for the image. The defaults are:
The optional `options` parameter can be used to set various options for the image. The defaults are:

options = {
cell_format: format,
Expand Down

0 comments on commit d4fee85

Please sign in to comment.