Provides a callback method that gets called when compressed data is available.
public delegate bool CodecsCompressDataCallback(
int width,
int height,
int bitsPerPixel,
Leadtools.RasterByteOrder order,
Leadtools.RasterViewPerspective viewPerspective,
Leadtools.RasterNativeBuffer buffer
)
Public Delegate Function CodecsCompressDataCallback( _
ByVal width As Integer, _
ByVal height As Integer, _
ByVal bitsPerPixel As Integer, _
ByVal order As Leadtools.RasterByteOrder, _
ByVal viewPerspective As Leadtools.RasterViewPerspective, _
ByVal buffer As Leadtools.RasterNativeBuffer _
) As Boolean
public delegate bool CodecsCompressDataCallback(
int width,
int height,
int bitsPerPixel,
Leadtools.RasterByteOrder order,
Leadtools.RasterViewPerspective viewPerspective,
Leadtools.RasterNativeBuffer buffer
)
typedef BOOL (^LTCodecsCompressDataCallback)(NSUInteger width, NSUInteger height, NSUInteger bitsPerPixel, LTRasterByteOrder order, LTRasterViewPerspective viewPerspective, unsigned char *data, NSUInteger dataLength)compress
public boolean OnCodecsCompressDataCallback(int width, int height, int bitsPerPixel, RasterByteOrder order, RasterViewPerspective viewPerspective, RasterNativeBuffer buffer)
CodecsCompressDataCallback(
width ,
height ,
bitsPerPixel ,
order ,
viewPerspective ,
buffer
)
public delegate bool CodecsCompressDataCallback(
int width,
int height,
int bitsPerPixel,
Leadtools.RasterByteOrder order,
Leadtools.RasterViewPerspective viewPerspective,
Leadtools.RasterNativeBuffer buffer
)
width
The image being compressed width in pixels.
height
The image being compressed height in pixels.
bitsPerPixel
The image being compressed bits/pixel value.
order
The image being compressed byte order.
viewPerspective
The image being compressed view perspective value.
buffer
A pointer to the memory buffer containing compressed data.
true to continue compressing the data, false to abort.
The CodecsCompressDataCallback delegate is passed to RasterCodecs.StartCompress and will get called when compressed data is available.
For an example, refer to RasterCodecs.StartCompress.
Products |
Support |
Feedback: CodecsCompressDataCallback Delegate - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.