[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IOutlineColumn.Images

Images Property

Images

Gets the images used for each outline level.

Use this property to access the image collection for the outline column. Each item in the returned list represents the image displayed for a specific outline level when images are enabled.

Declaration
IList<ImageSource> Images { get; }
ReadOnly Property Images As IList(Of ImageSource)
Examples
worksheet.Range["A1:A3"].Value = new object[,] {{"Name"}, {"Node 1"}, {"Node 1.1"}};
worksheet.Range["A3"].IndentLevel = 1;
IOutlineColumn outlineColumn = worksheet.OutlineColumn;
outlineColumn.ColumnIndex = 0;
outlineColumn.ShowImage = true;
outlineColumn.Images.Add(new ImageSource(new MemoryStream(new byte[] {(byte) 137, 80, 78, 71, 13, 10, 26, 10}), ImageType.PNG));
IList<ImageSource> images = outlineColumn.Images;