Enum Border
Border enumeration
Specifies the type borders.
public enum Border
Values
Name | Value | Description |
---|---|---|
NoBorder | 0 | No border. |
AroundEveryPage | 1 | Around every page. |
OutsidePages | 2 | On the outside pages. |
Examples
Shows how to work with page margins.
var project = new Project(DataDir + "Project2.mpp");
// lets modify the default view
var margins = project.DefaultView.PageInfo.Margins;
// lets modify margins
margins.Left = 10d;
margins.Top = 10d;
margins.Right = 10d;
margins.Bottom = 10d;
margins.Borders = Border.OutsidePages;
project.Save(OutDir + "WorkWithPageMargins_out.mpp", SaveFileFormat.Mpp);
See Also
- namespace Aspose.Tasks.Visualization
- assembly Aspose.Tasks