SetSize Method (Int32, Int32)

Office Open XML

Set size in pixels Note that resizing columns / rows after using this function will effect the size of the drawing

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

Syntax

C#
public void SetSize(
	int PixelWidth,
	int PixelHeight
)
Visual Basic (Declaration)
Public Sub SetSize ( _
	PixelWidth As Integer, _
	PixelHeight As Integer _
)
Visual C++
public:
void SetSize(
	int PixelWidth, 
	int PixelHeight
)

Parameters

PixelWidth
Type: System..::.Int32
Width in pixels
PixelHeight
Type: System..::.Int32
Height in pixels

See Also