Aspose::Cells::Drawing::Shape::GetInputRange method

Shape::GetInputRange() method

Gets or sets the worksheet range used to fill the specified combo box.

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

Examples

if (shape.GetInputRange() == u"$B$6:$B10")
    shape.SetInputRange(u"$A$1:$A$5");

See Also

Shape::GetInputRange(bool, bool) method

Gets the range used to fill the control.

U16String Aspose::Cells::Drawing::Shape::GetInputRange(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 used to fill the control.

Examples

U16String range = shape.GetInputRange(false, true);
//If successful, a value like "$A$1:$A$3" will be returned

See Also