Thêm lề
Contents
[
Hide
]Cách thêm lề
Vấn đề: Cách thêm lề (CADNET-1298).
Mẹo: Để làm điều này, hãy tạo rasterizationOptions.Margins trong CadRasterizationOptions và thiết lập các tham số cần thiết.
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
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions(); | |
rasterizationOptions.Margins = new Margins(); | |
rasterizationOptions.Margins.Bottom = 300; | |
rasterizationOptions.Margins.Left = 300; | |
rasterizationOptions.Margins.Right = 300; | |
rasterizationOptions.Margins.Top = 300; |