[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IGraphic.Width

Width Property

Width

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

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

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