SPDocumentLibrary.WebImageHeight 属性

获取或设置文档库中的 Web 图像的高度。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property WebImageHeight As Integer
    Get
    Set
用法
Dim instance As SPDocumentLibrary
Dim value As Integer

value = instance.WebImageHeight

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

属性值

类型:System.Int32
返回一个Int32 ,该值指示是文档库中的 Web 图像的高度。

异常

异常 条件
[ArgumentOutOfRangeException]

将值小于 1 设置为WebImageHeight时引发。

备注

此属性指定 Web 图像的高度像素)。图片在上载时,分析程序将生成两个缩略图: Web 图像,并缩略图。此属性控制 Web 图像的高度。由ThumbnailSize控制的缩略图高度和宽度。

另请参阅

引用

SPDocumentLibrary 类

SPDocumentLibrary 成员

Microsoft.SharePoint 命名空间