[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IGraphic.Height

Height Property

Height

Gets or sets the height, in points, of the object.

Use this property to get or change the current height of the picture field represented by this IGraphic.

Declaration
double Height { get; set; }
Property Height As Double
Examples
IGraphic graphic = worksheet.PageSetup.CenterHeaderPicture;
using (MemoryStream stream = CreateSampleImageStream())
{
    graphic.SetGraphicStream(stream, ImageType.PNG);
}
double height = graphic.Height;