Table of Contents

Method SetDynamicProperties

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

SetDynamicProperties(SizeD, float, bool)

Updates the dynamic properties of the object, including size, scale factor, and transparency.

public virtual void SetDynamicProperties(SizeD size, float scaleFactor, bool isTransparent)

Parameters

size SizeD

The new size of the object.

scaleFactor float

The scaling factor to apply to the object.

isTransparent bool

A value indicating whether the object should be transparent.

Remarks

If the specified properties are the same as the current properties, the method performs no action. Otherwise, the method updates the properties and disposes of any associated resources as needed.