Class PageSettings
Represents the page settings of the diagram.
Inheritance
Implements
Namespace: Syncfusion.SfDiagram.Android
Assembly: Syncfusion.SfDiagram.Android.dll
Syntax
public class PageSettings : Object, IDisposable
Properties
BackgroundColor
Gets or sets the background color of the page.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Android.Graphics.Color | The background color of the page. |
GridColor
Gets or sets the grid line color of the page.
Declaration
public Color GridColor { get; set; }
Property Value
Type | Description |
---|---|
Android.Graphics.Color | The grid line color of the page. |
GridSize
Gets or sets the grid box Width/Height.
Declaration
public float GridSize { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The grid box Width/Height. |
PageHeight
Gets or sets the height of the page.
Declaration
public int PageHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The height of the page. |
PageWidth
Gets or sets the width of the page.
Declaration
public int PageWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The width of the page. |
ShowGrid
Gets or sets a value indicating whether to enable/disable the grid visibility in page.
Declaration
public bool ShowGrid { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The grid visibility in page. |
SnapToGrid
Gets or sets a value indicating whether enable/disable the snap to grid page.
Declaration
public bool SnapToGrid { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Enable/disable the snap to grid. |
ViewPortStartPosition
Gets or sets the view port start position for diagram SfDiagram page.
Declaration
public ViewPortStartPosition ViewPortStartPosition { get; set; }
Property Value
Type | Description |
---|---|
ViewPortStartPosition | The view port start position for diagram page. |
Methods
Dispose()
Define the dispose method.
Declaration
public void Dispose()
Dispose(Boolean)
Define the dispose method.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | disposing value. |