Leadtools.Converters assembly

RasterRenderBuffer Class

Show in webframe







Members 
Destination buffer information required for rendering a source Leadtools.RasterImage. Can be used to render an image to a Windows Runtime WriteableBitmap object or HTML Canvas.
Object Model
Syntax
public class RasterRenderBuffer 
'Declaration
 
Public Class RasterRenderBuffer 
'Usage
 
Dim instance As RasterRenderBuffer
public sealed class RasterRenderBuffer 

            

            
function Leadtools.Converters.RasterRenderBuffer()
public ref class RasterRenderBuffer 
Remarks

The RasterImageRenderer class provides support for rendering a LEADTOOLS Leadtools.RasterImage into a generic buffer containing 32-bit image data. This buffer can be the surface of a Windows Runtime WriteableBitmap object or the image data of HTML Canvas. The source Leadtools.RasterImage can have any bits/pixel or color order supported by LEADTOOLS.

To render any portion of a raster image into a Windows Runtime WriteableBitmap:

To render any portion of a raster image into a HTML Canvas:

You can also use an instance of RasterImageRenderProperties and change any of its properties to control the speed and quality of the render operation. Such as performing scale to gray or resample rendering.

RasterRenderBuffer also contains the ToRasterImage helper method that allows you to convert the data inside a RasterRenderBuffer into a Leadtools.RasterImage object. This can be used to create a Leadtools.RasterImage from a Windows Runtime WriteableBitmap or HTML Canvas.

Example

For an example, refer to RasterImageRenderer.

Requirements

Target Platforms

See Also

Reference

RasterRenderBuffer Members
Leadtools.Converters Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.