C# Class OfficeOpenXml.Drawing.ExcelPicture

An image object
Inheritance: ExcelDrawing
显示文件 Open project: pruiz/EPPlus Class Usage Examples

Private Properties

Property Type Description
AddNewPicture void
DeleteMe void
ExcelPicture System
ExcelPicture System
ExcelPicture System
ExcelPicture System
ExcelPicture System
GetContentType string
PicStartXml string
SavePicture string
SetPosDefaults void

Public Methods

Method Description
SetSize ( int Percent ) : void

Set the size of the image in percent from the orginal size Note that resizing columns / rows after using this function will effect the size of the picture

Private Methods

Method Description
AddNewPicture ( byte img, string relID ) : void
DeleteMe ( ) : void
ExcelPicture ( OfficeOpenXml.Drawing.ExcelDrawings drawings, XmlNode node ) : System
ExcelPicture ( OfficeOpenXml.Drawing.ExcelDrawings drawings, XmlNode node, FileInfo imageFile ) : System
ExcelPicture ( OfficeOpenXml.Drawing.ExcelDrawings drawings, XmlNode node, FileInfo imageFile, Uri hyperlink ) : System
ExcelPicture ( OfficeOpenXml.Drawing.ExcelDrawings drawings, XmlNode node, Image image ) : System
ExcelPicture ( OfficeOpenXml.Drawing.ExcelDrawings drawings, XmlNode node, Image image, Uri hyperlink ) : System
GetContentType ( string extension ) : string
PicStartXml ( ) : string
SavePicture ( Image image ) : string
SetPosDefaults ( Image image ) : void

Method Details

SetSize() public method

Set the size of the image in percent from the orginal size Note that resizing columns / rows after using this function will effect the size of the picture
public SetSize ( int Percent ) : void
Percent int Percent
return void