Method Move
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
Move(string, Emu, Emu)
Moves the picture's top-left corner into a cell, keeping its size.
public void Move(string cell, Emu offsetX = default, Emu offsetY = default)
Parameters
cellstringThe cell, such as
D2.offsetXEmuHow far right of the cell's left edge.
offsetYEmuHow far below the cell's top edge.
Exceptions
- ArgumentException
The cell is not a cell reference, or an offset is negative or past what a drawing states.
- InvalidOperationException
The picture was removed.