Persistence
Control.Persistence property
Gets the method used to store properties of the ActiveX control. Read only PersistenceType
.
public PersistenceType Persistence { get; }
Examples
Next example shows the using Persistence property for checking if properties of ActiveX object may be changed as XML based 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
- enum PersistenceType
- class Control
- namespace Aspose.Slides
- assembly Aspose.Slides