تغيير وزن الخطوط لـ DWG/DXF
Contents
[
Hide
]كيفية تغيير وزن الخطوط لـ DWG/DXF
المسألة: كيفية تغيير وزن الخطوط لـ DWG/DXF.
نصائح: يمكنك استخدام خاصية LineWeight على الكيانات أو الطبقات للقيام بذلك.
مثال:
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
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; | |
} |