summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xexamples/example.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/example.rb b/examples/example.rb
index 04e49d8f..218237a6 100755
--- a/examples/example.rb
+++ b/examples/example.rb
@@ -278,11 +278,12 @@ if examples.include? :images
img = File.expand_path('../image1.jpeg', __FILE__)
# specifying the :hyperlink option will add a hyper link to your image.
# @note - Numbers does not support this part of the specification.
- sheet.add_image(:image_src => img, :noSelect => true, :noMove => true, :hyperlink=>"http://axlsx.blogspot.com") do |image|
+ sheet.add_image(:image_src => img, :noSelect => true, end_at: true, :noMove => true, :hyperlink=>"http://axlsx.blogspot.com") do |image|
image.width=720
image.height=666
image.hyperlink.tooltip = "Labeled Link"
image.start_at 2, 2
+ image.end_at 200, 200
end
end
end