Aspose::Cells::Drawing::Shape::GetLinkedCell method

Shape::GetLinkedCell() method

Gets or sets the worksheet range linked to the control’s value.

U16String Aspose::Cells::Drawing::Shape::GetLinkedCell()

Examples

if (shape.GetLinkedCell() == u"$B$6")
    shape.SetLinkedCell(u"A1");

See Also

Shape::GetLinkedCell(bool, bool) method

Gets the range linked to the control’s value.

U16String Aspose::Cells::Drawing::Shape::GetLinkedCell(bool isR1C1, bool isLocal)
ParameterTypeDescription
isR1C1boolWhether the formula needs to be formatted as R1C1.
isLocalboolWhether the formula needs to be formatted by locale.

ReturnValue

The range linked to the control’s value.

Examples

//You may get results like '$A$1'
U16String link = shape.GetLinkedCell(false, false);

See Also