ImageRendition.IsValid property
Gets a Boolean value that indicates whether the current image rendition is valid.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public ReadOnly Property IsValid As Boolean
Get
'Usage
Dim instance As ImageRendition
Dim value As Boolean
value = instance.IsValid
public bool IsValid { get; }
Property value
Type: System.Boolean
true if the image rendition is valid; otherwise, false.
Remarks
An image rendition is valid if its name is set; either the width, height, or both are set to a value greater than zero, and both the width and the height are less than or equal to the maximum supported image rendition size, in pixels (2048 px).