SetPosition Method (Int32, Int32, Int32, Int32)

Office Open XML

Set the top left corner of a drawing. Note that resizing columns / rows after using this function will effect the position of the drawing

Namespace:  OfficeOpenXml.Drawing
Assembly:  EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)

Syntax

C#
public void SetPosition(
	int Row,
	int RowOffsetPixels,
	int Column,
	int ColumnOffsetPixels
)
Visual Basic (Declaration)
Public Sub SetPosition ( _
	Row As Integer, _
	RowOffsetPixels As Integer, _
	Column As Integer, _
	ColumnOffsetPixels As Integer _
)
Visual C++
public:
void SetPosition(
	int Row, 
	int RowOffsetPixels, 
	int Column, 
	int ColumnOffsetPixels
)

Parameters

Row
Type: System..::.Int32
Start row
RowOffsetPixels
Type: System..::.Int32
Offset in pixels
Column
Type: System..::.Int32
Start Column
ColumnOffsetPixels
Type: System..::.Int32
Offset in pixels

See Also