Click or drag to resize

ItemLocationDirectAutoSizeSetSizeInAutoSizeMode(PointD2D, Boolean) Method

If the IsAutoSized property is true for this instance, the graphical object has to use this function to indicate its size.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void SetSizeInAutoSizeMode(
	PointD2D autoSize,
	bool isChangeEventEnabled
)

Parameters

autoSize  PointD2D
Size of the graphical object.
isChangeEventEnabled  Boolean
If true, the Change event will be fired if the size has changed.
Exceptions
ExceptionCondition
InvalidOperationExceptionUsing SetAutoSize is not supported because IsAutoSized is false
See Also