Click or drag to resize

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.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public ItemLocationByGrid? CreateGridForLocation(
	ItemLocationDirect itemLocation
)

Parameters

itemLocation  ItemLocationDirect
The item location of the child layer.

Return Value

ItemLocationByGrid
The new grid cell location for useage by the child layer. If no grid could be created, the return value may be null.
See Also