Gets the memory buffer containing one or more lines of output image data that the you must provide.
public RasterNativeBuffer Buffer { get; }
Public ReadOnly Property Buffer As Leadtools.RasterNativeBuffer
public Leadtools.RasterNativeBuffer Buffer {get;}
@property (nonatomic, assign, nullable) unsigned char *buffer
@property (nonatomic, assign) NSUInteger bufferLength
RasterNativeBuffer getBuffer();
void setBuffer(RasterNativeBuffer value);
public RasterNativeBuffer getBuffer()
get_Buffer();
public:
property Leadtools.RasterNativeBuffer Buffer {
Leadtools.RasterNativeBuffer get();
}
A RasterNativeBuffer object containing one or more lines of output image data that the you must provide.
The Buffer property works as the input and output buffer containing the image data to save. If the value of RetrieveDataFromImage is set to false (the default), then the user is always responsible for providing the image data by setting in Buffer. If the value of RetrieveDataFromImage is set to true, then the RasterCodecs object will populate the Buffer prior to raising this event. The user can then inspect or modify the scanlines data or simple ignore it to save the original image data as is.
Notice that on either case, the user must provide the scanline data in the source image original format (stored in the Image property. The RasterCodecs object will then convert this data to the appropriate output format if needed, for example, if the user instructed the RasterCodecs object to save the image in a different file format than the original image.
For an example, refer to RasterCodecs.SaveImage.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET