[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.PictureFormat

PictureFormat Property

PictureFormat

Returns the IPictureFormat object that contains picture formatting for the specified shape.

Use the returned object to access picture-specific settings such as transparency, brightness, contrast, and cropping.

Declaration
IPictureFormat PictureFormat { get; }
ReadOnly Property PictureFormat As IPictureFormat
Examples
worksheet.Range["A1:B2"].Value = new object[,] {
    {"Name", "Value"},
    {"Test", 100}
};
IShape picture = worksheet.Shapes.AddCameraPicture("=$A$1:$B$2", 20, 20);
IPictureFormat pictureFormat = picture.PictureFormat;
pictureFormat.Transparency = 0.5;