## GridPicture class

Encapsulates the object that represents a single picture in a spreadsheet.

```csharp
public class GridPicture
```

## Properties

| Name | Description |
| --- | --- |
| [AlternativeText](../../aspose.cells.gridweb.data/gridpicture/alternativetext/) { get; set; } | Returns or sets the descriptive (alternative) text string of the [`GridShape`](../gridshape/) object. |
| [BorderLineColor](../../aspose.cells.gridweb.data/gridpicture/borderlinecolor/) { get; set; } | Represents the Color of the border line of a picture. |
| [BorderWeight](../../aspose.cells.gridweb.data/gridpicture/borderweight/) { get; set; } | Gets or sets the weight of the border line of a picture in units of pt. |
| [Bottom](../../aspose.cells.gridweb.data/gridpicture/bottom/) { get; set; } | Represents the width of the shape's vertical offset from its lower bottom corner row, in unit of pixels. |
| [Data](../../aspose.cells.gridweb.data/gridpicture/data/) { get; set; } | Gets the data of the picture. |
| [HasLine](../../aspose.cells.gridweb.data/gridpicture/hasline/) { get; set; } | Gets and sets the line border of the shape is visible. |
| [Height](../../aspose.cells.gridweb.data/gridpicture/height/) { get; set; } | Represents the height of shape, in unit of pixel. |
| [HeightCM](../../aspose.cells.gridweb.data/gridpicture/heightcm/) { get; set; } | Represents the height of the shape, in unit of inches. |
| [HeightInch](../../aspose.cells.gridweb.data/gridpicture/heightinch/) { get; set; } | Represents the height of the shape, in unit of inches. |
| [HeightPt](../../aspose.cells.gridweb.data/gridpicture/heightpt/) { get; set; } | Represents the height of the shape, in unit of points. |
| [HeightScale](../../aspose.cells.gridweb.data/gridpicture/heightscale/) { get; set; } | Gets and sets the height scale,in unit of percent of the original picture height. If the shape is not picture ,the HeightScale property only returns 100; |
| [HtmlText](../../aspose.cells.gridweb.data/gridpicture/htmltext/) { get; set; } | Gets and sets the html string which contains data and some formattings in this textbox. |
| [Hyperlink](../../aspose.cells.gridweb.data/gridpicture/hyperlink/) { get; } | Gets the hyperlink of the shape. |
| [ID](../../aspose.cells.gridweb.data/gridpicture/id/) { get; set; } | Gets /Sets the ID of the picture. |
| [Image](../../aspose.cells.gridweb.data/gridpicture/image/) { get; set; } | Gets or sets the Image object. |
| [ImageFormat](../../aspose.cells.gridweb.data/gridpicture/imageformat/) { get; } | Gets the image format of the picture. |
| [IsFlippedVertically](../../aspose.cells.gridweb.data/gridpicture/isflippedvertically/) { get; set; } | Gets and sets whether shape is vertically flipped . |
| [IsHidden](../../aspose.cells.gridweb.data/gridpicture/ishidden/) { get; set; } | Indicates whether the object is visible. |
| [IsLockAspectRatio](../../aspose.cells.gridweb.data/gridpicture/islockaspectratio/) { get; set; } | True means that don't allow changes in aspect ratio. |
| [IsLocked](../../aspose.cells.gridweb.data/gridpicture/islocked/) { get; set; } | True if the object is locked, False if the object can be modified when the sheet is protected. |
| [IsTextWrapped](../../aspose.cells.gridweb.data/gridpicture/istextwrapped/) { get; set; } | Gets and sets the text wrapped type of the shape which contains text. |
| [Left](../../aspose.cells.gridweb.data/gridpicture/left/) { get; set; } | Represents the horizontal offset of shape from its left column, in unit of pixels. |
| [LeftCM](../../aspose.cells.gridweb.data/gridpicture/leftcm/) { get; set; } | Represents the horizontal offset of shape from its left column, in unit of centimeters. |
| [LeftInch](../../aspose.cells.gridweb.data/gridpicture/leftinch/) { get; set; } | Represents the horizontal offset of shape from its left column, in unit of inches. |
| [LeftToCorner](../../aspose.cells.gridweb.data/gridpicture/lefttocorner/) { get; set; } | Represents the horizontal offset of shape from worksheet left board, in unit of pixels. |
| [LinkedCell](../../aspose.cells.gridweb.data/gridpicture/linkedcell/) { get; set; } | Gets or sets the worksheet range linked to the control's value. |
| [LowerDeltaX](../../aspose.cells.gridweb.data/gridpicture/lowerdeltax/) { get; set; } | Gets or sets the shape's horizontal offset from its lower right corner column. The range of value is 0 to 1024. |
| [LowerDeltaY](../../aspose.cells.gridweb.data/gridpicture/lowerdeltay/) { get; set; } | Gets or sets the shape's vertical offset from its lower right corner row. The range of value is 0 to 256. |
| [LowerRightColumn](../../aspose.cells.gridweb.data/gridpicture/lowerrightcolumn/) { get; set; } | Represents lower right corner column index. |
| [LowerRightRow](../../aspose.cells.gridweb.data/gridpicture/lowerrightrow/) { get; set; } | Represents lower right corner row index. |
| [Name](../../aspose.cells.gridweb.data/gridpicture/name/) { get; set; } | Gets and sets the name of the shape. |
| [OriginalHeight](../../aspose.cells.gridweb.data/gridpicture/originalheight/) { get; } | Gets the original height of the picture. |
| [OriginalHeightCM](../../aspose.cells.gridweb.data/gridpicture/originalheightcm/) { get; } | Gets the original height of picture, in unit of centimeters. |
| [OriginalHeightInch](../../aspose.cells.gridweb.data/gridpicture/originalheightinch/) { get; } | Gets the original height of picture, in unit of inches. |
| [OriginalWidth](../../aspose.cells.gridweb.data/gridpicture/originalwidth/) { get; } | Gets the original width of the picture. |
| [OriginalWidthCM](../../aspose.cells.gridweb.data/gridpicture/originalwidthcm/) { get; } | Gets the original width of picture, in unit of centimeters. |
| [OriginalWidthInch](../../aspose.cells.gridweb.data/gridpicture/originalwidthinch/) { get; } | Gets the original width of picture, in unit of inches. |
| [RelativeToOriginalPictureSize](../../aspose.cells.gridweb.data/gridpicture/relativetooriginalpicturesize/) { get; set; } | Indicates whether shape is relative to original picture size. |
| [Right](../../aspose.cells.gridweb.data/gridpicture/right/) { get; set; } | Represents the width of the shape's horizontal offset from its lower right corner column, in unit of pixels. |
| [RotationAngle](../../aspose.cells.gridweb.data/gridpicture/rotationangle/) { get; set; } | Gets and sets the rotation of the shape. |
| [SourceFullName](../../aspose.cells.gridweb.data/gridpicture/sourcefullname/) { get; set; } | Gets or sets the path and name of the source file for the linked image. |
| [Text](../../aspose.cells.gridweb.data/gridpicture/text/) { get; set; } | Represents the string in this TextBox object. |
| [Title](../../aspose.cells.gridweb.data/gridpicture/title/) { get; set; } | Specifies the title (caption) of the current shape object. |
| [Top](../../aspose.cells.gridweb.data/gridpicture/top/) { get; set; } | Represents the vertical offset of shape from its top row, in unit of pixels. |
| [TopCM](../../aspose.cells.gridweb.data/gridpicture/topcm/) { get; set; } | Represents the vertical offset of shape from its top row, in unit of centimeters. |
| [TopInch](../../aspose.cells.gridweb.data/gridpicture/topinch/) { get; set; } | Represents the vertical offset of shape from its top row, in unit of inches. |
| [TopToCorner](../../aspose.cells.gridweb.data/gridpicture/toptocorner/) { get; set; } | Represents the vertical offset of shape from worksheet top board, in unit of pixels. |
| [UpperDeltaX](../../aspose.cells.gridweb.data/gridpicture/upperdeltax/) { get; set; } | Gets or sets the shape's horizontal offset from its upper left corner column. The range of value is 0 to 1024. |
| [UpperDeltaY](../../aspose.cells.gridweb.data/gridpicture/upperdeltay/) { get; set; } | Gets or sets the shape's vertical offset from its upper left corner row. The range of value is 0 to 256. |
| [UpperLeftColumn](../../aspose.cells.gridweb.data/gridpicture/upperleftcolumn/) { get; set; } | Represents upper left corner column index. |
| [UpperLeftRow](../../aspose.cells.gridweb.data/gridpicture/upperleftrow/) { get; set; } | Represents upper left corner row index. |
| [Width](../../aspose.cells.gridweb.data/gridpicture/width/) { get; set; } | Represents the width of shape, in unit of pixels. |
| [WidthCM](../../aspose.cells.gridweb.data/gridpicture/widthcm/) { get; set; } | Represents the width of the shape, in unit of centimeters. |
| [WidthInch](../../aspose.cells.gridweb.data/gridpicture/widthinch/) { get; set; } | Represents the width of the shape, in unit of inch. |
| [WidthPt](../../aspose.cells.gridweb.data/gridpicture/widthpt/) { get; set; } | Represents the width of the shape, in unit of point. |
| [WidthScale](../../aspose.cells.gridweb.data/gridpicture/widthscale/) { get; set; } | Gets and sets the width scale, in unit of percent of the original picture width. If the shape is not picture ,the WidthScale property only returns 100; |
| [X](../../aspose.cells.gridweb.data/gridpicture/x/) { get; set; } | Gets and sets the horizonal offset of shape from worksheet left border,in unit of pixels. |
| [Y](../../aspose.cells.gridweb.data/gridpicture/y/) { get; set; } | Gets and sets the vertical offset of shape from worksheet top border,in unit of pixels. |
| [ZOrderPosition](../../aspose.cells.gridweb.data/gridpicture/zorderposition/) { get; set; } | Returns the position of a shape in the z-order. |

## Methods

| Name | Description |
| --- | --- |
| [AddHyperlink](../../aspose.cells.gridweb.data/gridpicture/addhyperlink/)(string) | Adds a hyperlink to the shape. |
| [AlignTopRightCorner](../../aspose.cells.gridweb.data/gridpicture/aligntoprightcorner/)(int, int) | Moves the picture to the top-right corner. |
| [IsGroup](../../aspose.cells.gridweb.data/gridpicture/isgroup/)() | Indicates whether the shape is a group. |
| [Move](../../aspose.cells.gridweb.data/gridpicture/move/)(int, int) | Moves the picture to a specified location. |
| [MoveToRange](../../aspose.cells.gridweb.data/gridpicture/movetorange/)(int, int, int, int) | Moves the shape to a specified range. |
| [RemoveHyperlink](../../aspose.cells.gridweb.data/gridpicture/removehyperlink/)() | Remove the hyperlink of the shape. |
| [SaveToImage](../../aspose.cells.gridweb.data/gridpicture/savetoimage/)(Stream) | Creates the image and saves it to a stream . |

### See Also

* namespace [Aspose.Cells.GridWeb.Data](../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../)


