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.
To create a Picture object, call Pictures.CreatePicture.
|Height||Sets or returns the height of the Picture, in points (1/72 inch).|
|LockAspectRatio||Sets or returns whether the aspect ratio of the picture will be locked in Excel. This setting has no effect within ExcelWriter.|
|Name||Sets or returns the picture's name.|
|PictureData||Returns a new byte array containing the data of the picture as it would appear in an image file.|
|Position||Sets or returns the Picture's position in the worksheet. This property determines the location of the picture's upper left corner.|
|Shape||Returns the underlying Shape object for this Picture, allowing advanced formatting to be set.|
|Width||Sets or returns the width of the Picture, in points (1/72 inch).|