Click or drag to resize
PbDateFormatMappingSetDateMapping Method

Defines an association between dates and coordinates (date mapping).

Namespace: OIV.MeshViz.Graph
Assembly: OIV.MeshViz (in OIV.MeshViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public int SetDateMapping(
	string date1,
	string date2,
	float coord1,
	float coord2
)

Parameters

date1
Type: SystemString
date2
Type: SystemString
coord1
Type: SystemSingle
coord2
Type: SystemSingle

Return Value

Type: Int32
Remarks

The dates must be in the same format as defined by the method OIV.MeshViz.Graph.PbDateFormatMapping.SetFormat(System.String). 0 is returned, if the mapping is correct, 1 if the date1 is incorrect, 2 if the date2 is incorrect, and 3 if date1 and date2 are identical. By default date1 is equal to "1-01-70", date2 is equal to "2-01-70", coord1 is equal to 0 and coord2 is equal to 1. 0 is return if the mapping of dates is correct 1 if the first date is incorrect 2 if the second date is incorrect 3 if date1 == date2

See Also