Gets or sets the constraint that allows image tags to be added to the HTML.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in microsoft.sharepoint.publishing.dll)
Visual Basic (Declaration)
<BrowsableAttribute(True)> _
Public Property AllowImages As Boolean
Dim instance As RichHtmlField
Dim value As Boolean
value = instance.AllowImages
instance.AllowImages = value
[BrowsableAttribute(true)]
public bool AllowImages { get; set; }
Property Value
When this flag is set to False, image tags are not allowed in the HTML.
If this flag is set to False, <IMG> and <BGSOUND> tags are removed from the HTML. Default is True. This property also determines whether the editing user interface (UI) enables these operations.