LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

UriOperationBufferSize Property






Gets or sets the size of the buffer used in URI-based load or information operations. .NET support WinRT support
Syntax
public int UriOperationBufferSize {get; set;}
'Declaration
 
Public Property UriOperationBufferSize As Integer
'Usage
 
Dim instance As RasterCodecs
Dim value As Integer
 
instance.UriOperationBufferSize = value
 
value = instance.UriOperationBufferSize
public int UriOperationBufferSize {get; set;}
 get_UriOperationBufferSize();
set_UriOperationBufferSize(value);
public:
property int UriOperationBufferSize {
   int get();
   void set (    int value);
}

Property Value

A value specifying the size of the buffer (in bytes) used in streaming operations. The value should be greater or equal to 1. Default value is 4096.
Remarks

The value of the UriOperationBufferSize property is used to determine the size of the temporary buffer used when streaming image file data using any of the URI-based load or information operations.

The following methods will use use the value of this property internally to allocate the temporary buffer:

The default size of the buffer is 4096 (4 KBytes). This means that the RasterCodecs object will try to load the image data in 4 KBytes chunks of data.

Increasing the buffer size might enhance the performance while also increasing the amount of memory resources used.

Example
For an example, refer to Load(Uri).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterCodecs Class
RasterCodecs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.