Visual Basic (Declaration) | |
---|---|
Public Property UriOperationBufferSize As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int UriOperationBufferSize {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property int get_UriOperationBufferSize(); public: __property void set_UriOperationBufferSize( int value ); |
Return 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.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:
- GetInformation(Uri, Boolean)
- GetInformation(Uri, Boolean, Int)
- Load(Uri)
- Load(Uri, Int, CodecsLoadByteOrder, Int, Int)
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family