Click or drag to resize

PdfWcfSettingsMessageDataSizeThreshold Property

Gets or sets the a value specifying the size threshold for message data contained in a WCF message.

Namespace:  RadPdf.Integration
Assembly:  RadPdf (in RadPdf.dll) Version: (
public int MessageDataSizeThreshold { get; set; }

Property Value

Type: Int32
The threshold, in bytes. The default value is 10,485,760 (10 MB).
ArgumentOutOfRangeExceptionThe value is less than 0.

Message data provides the RAD PDF System Service with resources which otherwise would need to be retreived from storage. The MessageDataSizeThreshold specifies the maximum amount of data which a WCF message can contain. If the amount of necessary data exceeds this, the necessary data will not be send in the WCF message and will need to be retreived from storage by the RAD PDF System Service.

The optimal value of this property will depend upon your available memory and the speed of your storage. For example, if you have a large amount of memory available or very slow storage, a large value may improve RAD PDF performance.

This threshold is ignored for messages related to printing.

If 0, message data is never used.

This setting is not used by Lite Documents.

See Also