DOKK / manpages / debian 12 / libexcel-template-perl / Excel::Template::Element::Image.3pm.en
Excel::Template::Element::Image(3pm) User Contributed Perl Documentation Excel::Template::Element::Image(3pm)

Excel::Template::Element::Image - Excel::Template::Element::Image

To insert an image into the worksheet

IMAGE

ELEMENT

This will consume one column in the current row.

None

  <image path="/Some/Full/Path" />
  <image path="/Some/Full/Path" offset="2,5" />
  <image path="/Some/Full/Path" scale="2,0.4" />
  <image path="/Some/Full/Path" offset="4,0" scale="0,2" />

Please see "" in Spreadsheet::WriteExcel for more information about the offset and scaling options as well as any other restrictions that might be in place. This node does NOT perform any sort of validation upon your parameters. You are assumed to know what you are doing.

Note that the offset and scaling values are "X,Y". You must provide both values, even if the Y value is 0. If you provide a 0 value for either scaling option, "" in Spreadsheet::WriteExcel will default that to 1.

Rob Kinyon (rob.kinyon@gmail.com)

Nothing

2022-06-13 perl v5.34.0