A Picture object represents a picture in a worksheet and allows the size, position, and content of the picture to be managed. Once created, the data of a picture may not be changed or replaced with the data of another picture. Instead, delete the picture and create a new one.
RemarksTo create a
Pictureobject, call Pictures.CreatePicture.
|Sets or returns the height of the Picture, in points (1/72 inch).|
|Sets or returns whether the aspect ratio of the picture will be locked in Excel. This setting has no effect within ExcelWriter.|
|Sets or returns the picture's name.|
|Returns a new byte array containing the data of the picture as it would appear in an image file.|
|Sets or returns the Picture's position in the worksheet. This property determines the location of the picture's upper left corner.|
|Returns the underlying Shape object for this Picture, allowing advanced formatting to be set.|
|Sets or returns the width of the Picture, in points (1/72 inch).|