This module is undocumented. This is a list of its definitions.
getPageDesc :: Resource -> <ReadGraph> PageDesc
 
pageDesc :: Variable -> <ReadGraph> PageDesc
 
serializePageDesc :: PageDesc -> String
 
setPageBordersVisible :: Resource -> Boolean -> <WriteGraph> ()
 
setPageDesc :: Resource -> String -> <WriteGraph> ()
setPageDesc aDiagramResource "<description>"
Sets the specified diagram's page description to match the specified "<description>".
The format of the <description> is the following:
<label>:<orientation>:<widthInMM>:<heightInMM>:<top-margin>:<bottom-margin>:<left-margin>:<right-margin>
Simantics versions 1.58.0 and later also support an optional <centering> parameter:
<label>:<orientation>:<widthInMM>:<heightInMM>:<top-margin>:<bottom-margin>:<left-margin>:<right-margin>[:<centering>]
where
<orientation> = Portrait | Landscape
<centering>   = TopLeftAtOrigin | CenteredAroundOrigin
Examples:
import "Simantics/Diagram"
import "Simantics/DiagramMapping"
import "Simantics/PageSettings"
composite = diagram currentModel ["NewGenericDiagram"]
diag = diagramOf composite
print $ uriOf composite
print $ uriOf diag
setPageDesc diag "A4:Portrait:210.0:297.0:10.0:10.0:10.0:10.0"
setPageDesc diag "A4:Landscape:210.0:297.0:10.0:10.0:10.0:10.0"
setPageDesc diag "Custom:Landscape:Infinity:Infinity:10.0:10.0:10.0:10.0"
// And since Simantics 1.58.0, the following also work
setPageDesc diag "A4:Landscape:210.0:297.0:10.0:10.0:10.0:10.0:TopLeftAtOrigin"
setPageDesc diag "A4:Landscape:210.0:297.0:10.0:10.0:10.0:10.0:CenteredAroundOrigin"
  
setPageDescRes :: Resource -> PageDesc -> <WriteGraph> ()