LEADTOOLS WPF and Silverlight (Leadtools.Converters assembly)
LEAD Technologies, Inc

RasterRenderBuffer Class






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. .NET support WinRT support
Object Model
RasterRenderBuffer Class
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: 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

RasterRenderBuffer Members
Leadtools.Converters Namespace

 

 


Products | Support | Contact Us | Copyright Notices

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