HostLayerCreateGridForLocation Method |
Creates the grid, so that a child layer with the location given by the argument
itemLocation fits into the grid at the same position as before.
You should check with
CanCreateGridForLocation(ItemLocationDirect) whether it is possible to create a grid for the given item location.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public ItemLocationByGrid? CreateGridForLocation(
ItemLocationDirect itemLocation
)
Parameters
- itemLocation ItemLocationDirect
- The item location of the child layer.
Return Value
ItemLocationByGridThe new grid cell location for useage by the child layer. If no grid could be created, the return value may be
null.
See Also