افزودن حاشیهها
Contents
[
Hide
]چگونه حاشیهها را اضافه کنیم
مسأله: چگونه حاشیهها را اضافه کنیم (CADNET-1298).
نکات: برای انجام این کار، rasterizationOptions.Margins را در CadRasterizationOptions ایجاد کنید و پارامترهای لازم را تنظیم کنید.
مثال:
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
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions(); | |
rasterizationOptions.Margins = new Margins(); | |
rasterizationOptions.Margins.Bottom = 300; | |
rasterizationOptions.Margins.Left = 300; | |
rasterizationOptions.Margins.Right = 300; | |
rasterizationOptions.Margins.Top = 300; |