تغییر وزن خطوط برای DWG/DXF
Contents
[
Hide
]چگونه وزن خطوط را برای DWG/DXF تغییر دهیم
مسئله: چگونه وزن خطوط را برای DWG/DXF تغییر دهیم.
نکات: شما میتوانید از ویژگی LineWeight در موجودیتها یا لایهها برای انجام این کار استفاده کنید.
مثال:
This file contains hidden or 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
using CadImage cadImage = (CadImage)Image.Load(fileName); | |
foreach (var entity in cadImage.Entities) | |
{ | |
entity.LineWeight = 0; | |
} | |
foreach (Aspose.CAD.FileFormats.Cad.CadTables.CadLayerTable layer in cadImage.Layers) | |
{ | |
layer.LineWeight = 0; | |
} |