Chỉnh sửa siêu liên kết trên đối tượng
Contents
[
Hide
]Cách chỉnh sửa siêu liên kết trên đối tượng
Vấn đề: Cách chỉnh sửa siêu liên kết trên đối tượng (CADNET-23).
Mẹo: Để làm điều này, hãy sử dụng trường Siêu liên kết trong các thực thể.
Ví dụ:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach (CadBaseEntity entity in cadImage.Entities) | |
{ | |
if (entity.Hyperlink == "https://products.aspose.com") | |
{ | |
entity.Hyperlink = "https://www.aspose.com"; | |
} | |
} |