RichHtmlField.AllowImageStyles property

Gets or sets whether the Table Styles menu is enabled.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

public bool AllowImageStyles { get; set; }

Property value

Type: System.Boolean
Specifies whether the menu is enabled.
Returns Boolean.

This restriction only disables the menus and does not force the content to adhere to this restriction.