Click or drag to resize

G2DPlotStyleCollectionCopyFromTemplateCollection Method

Copies all styles 1:1 from a template collection, but try to reuse the data columns from the old styles collection. This function is used if the user has selected the Strict.

Namespace: Altaxo.Graph.Gdi.Plot.Styles
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool CopyFromTemplateCollection(
	G2DPlotStyleCollection from
)

Parameters

from  G2DPlotStyleCollection
The template style collection to copy from.

Return Value

Boolean
On return, this collection has exactly the same styles as the template collection, in exactly the same order and with the same properties, except for the data of the styles. The style data are tried to reuse from the old styles. If this is not possible, the data references will be left empty.
See Also