Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetMarginBottom
GetMarginLeft
GetMarginRight
GetMarginTop
GetPageSizeUnits
GetPaperHeight
GetPaperWidth
MgPlotSpecification
SetMargins
SetPageSizeUnits
SetPaperHeight
SetPaperWidth
MgPlotSpecification::MgPlotSpecification | ( | float | paperWidth,
|  | float | paperHeight,
|  | CREFSTRING | pageUnits,
|  | float | left = `0`,
|  | float | top = `0`,
|  | float | right = `0`,
|  | float | bottom = `0` |
| ) |  |  |
Specifications for the plot. .NET Syntax
`MgPlotSpecification(float paperWidth, float paperHeight, string pageUnits, float left = 0, float top = 0, float right = 0, float bottom = 0);`
Java Syntax
`MgPlotSpecification(float paperWidth, float paperHeight, String pageUnits, float left = 0, float top = 0, float right = 0, float bottom = 0);`
PHP Syntax
`MgPlotSpecification(float paperWidth, float paperHeight, string pageUnits, float left = 0, float top = 0, float right = 0, float bottom = 0);`
  Parameters:
  | paperWidth | (float) Input paper width in page units
  | paperHeight | (float) Input paper height in page units
  | pageUnits | (String/string) Input units for page size. See MgPageUnitsType for valid units of measure
  | left | (float) Input The left margin between the plot and the page edge.
  | top | (float) Input The top margin between the plot and the page edge.
  | right | (float) Input The right margin between the plot and the page edge.
  | bottom | (float) Input The bottom margin between the plot and the page edge.
Returns: Nothing

Comments or suggestions? Send us feedback.