Table of Contents

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

cell string

The cell, such as D2.

offsetX Emu

How far right of the cell's left edge.

offsetY Emu

How 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.