Çalışma Sayfasının Bağlantılarını Düzenleme

Contents
[ ]

Aşağıdaki örnek kod, çalışma sayfasının tüm bağlantılarına erişir ve bunların Hyperlink.Address özelliğini Aspose web sitesine değiştirir.

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
Workbook workbook = new Workbook(dataDir + "Sample.xlsx");
Worksheet worksheet = workbook.Worksheets[0];
for (int i = 0; i < worksheet.Hyperlinks.Count; i++)
{
Hyperlink hl = worksheet.Hyperlinks[i];
hl.Address = "http://www.aspose.com";
}
workbook.Save(dataDir + "output_out.xlsx");