Share via


SPDocumentConverter.MaxFileSize property

Gets or sets the maximum file size in kilobytes that the document converter can handle.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property MaxFileSize As Integer
    Get
    Set
'Usage
Dim instance As SPDocumentConverter
Dim value As Integer

value = instance.MaxFileSize

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

Property value

Type: System.Int32
A 32-bit integer that indicates the maximum file size, which by default equals the default value of the NoFileSizeLimit property, which is -1, meaning that there is no maximum file size.

See also

Reference

SPDocumentConverter class

SPDocumentConverter members

Microsoft.SharePoint.Administration namespace