ActiveXControlBinary

Control.ActiveXControlBinary property

Specifies the persistence of an ActiveX control when the method used to persist is either PersistStream, PersistStreamInit or PersistStorage.

public byte[] ActiveXControlBinary { get; }

Examples

Next example shows the using ActiveXControlBinary property for changing ActiveX properties:

[C#]
if (control.Persistence == PersistenceType.PersistPropertyBag)
{
    control.Properties["Value"] = value;
}
else
{
    YourMethodHere(control.ActiveXControlBinary); //Use your own method for managing ActiveX properties stored in its binary file
}

See Also