Method: Axlsx::Pic#start_at

Defined in:
lib/axlsx/drawing/pic.rb

#start_at(x, y = nil) ⇒ Marker

This is a short cut method to set the start anchor position If you need finer granularity in positioning use graphic_frame.anchor.from.colOff / rowOff

Parameters:

  • x (Integer)

    The column

  • y (Integer) (defaults to: nil)

    The row

Returns:



150
151
152
153
# File 'lib/axlsx/drawing/pic.rb', line 150

def start_at(x, y=nil)
  @anchor.start_at x, y
  @anchor.from
end