Share via


RichHtmlField.PreviewValueSize Property

Gets or sets the size of the preview value that is used for this field.

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

Syntax

'Declaration
Public Property PreviewValueSize As SPPreviewValueSize
    Get
    Set
'Usage
Dim instance As RichHtmlField
Dim value As SPPreviewValueSize

value = instance.PreviewValueSize

instance.PreviewValueSize = value
public SPPreviewValueSize PreviewValueSize { get; set; }

Property Value

Type: Microsoft.SharePoint.SPPreviewValueSize

Remarks

This value is one of the enumerations (Small, Medium, Large, or ExtraLarge) that affects how the field control appears in design previews.

See Also

Reference

RichHtmlField Class

RichHtmlField Members

Microsoft.SharePoint.Publishing.WebControls Namespace

RichHtmlField