[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IContainer.HeightInPixel

HeightInPixel Property

HeightInPixel

Gets or sets the height (in pixels) of the object.

Use this method to retrieve the pixel-based height of a floating object such as a shape, chart, or picture.

Declaration
double HeightInPixel { get; set; }
Property HeightInPixel As Double
Examples
IContainer container = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 30, 120, 60);
double height = container.HeightInPixel;