Previous topicNext topic
Help > Events >
ShieldChanged

ShieldChanged Event

Fired when the shield level is changed by the SetShieldLevel method.

Syntax

Private Sub object_ShieldChanged(ByVal ShieldPower As oShieldFilterPower, ByVal ShiedException As oShieldException, ByVal RedrawNeeded As Boolean)

The ShieldChanged event syntax has these parts:

Element Description
Object The object placeholder represents an OrdoWebView2 control
ShieldPower

oShieldFilterPower. then new Filter Power
    oNone = 0
    oModerate = 1
    oMedium = 2
    oMax = 3

ShiedException oShieldException. the shield exceptions
    oNoException = 0
    oDocument = 1
    oImage = 2
    oMedia = 4
    oFont = 8
    oScript = 16
RedrawNeeded Boolean, If set to True, it is necessary to reload the page