ImageRendition.Height 属性

Gets or sets the height of an image rendition.

命名空间:  Microsoft.SharePoint.Client.Publishing
程序集:   Microsoft.SharePoint.Client.Publishing.Silverlight(位于 Microsoft.SharePoint.Client.Publishing.Silverlight.dll 中);  Microsoft.SharePoint.Client.Publishing.Phone(位于 Microsoft.SharePoint.Client.Publishing.Phone.dll 中)  Microsoft.SharePoint.Client.Publishing(位于 Microsoft.SharePoint.Client.Publishing.dll 中)

语法

声明
Public Property Height As Integer
    Get
    Set
用法
Dim instance As ImageRendition
Dim value As Integer

value = instance.Height

instance.Height = value
public int Height { get; set; }

属性值

类型:System.Int32
The height of an image rendition.

备注

An image rendition must have a Width property, Height property, or both set to a value greater than zero. If both Width and Height are not set to a value greater than zero, the image rendition is considered invalid and the save operation fails.

另请参阅

引用

ImageRendition 类

ImageRendition 成员

Microsoft.SharePoint.Client.Publishing 命名空间