Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

RenderOnImage Method (AnnAndroidRenderingEngine_java)







The source AnnContainer to be rendered.
The target RasterImage.
Renders the container into the specified image.
Syntax
public override RasterImage RenderOnImage( 
   AnnContainer container,
   RasterImage inputImage
)
'Declaration
 
Public Overrides Function RenderOnImage( _
   ByVal container As AnnContainer, _
   ByVal inputImage As RasterImage _
) As RasterImage
'Usage
 
Dim instance As AnnAndroidRenderingEngine
Dim container As AnnContainer
Dim inputImage As RasterImage
Dim value As RasterImage
 
value = instance.RenderOnImage(container, inputImage)
public override RasterImage RenderOnImage( 
   AnnContainer container,
   RasterImage inputImage
)
 function Leadtools.Annotations.Rendering.AnnAndroidRenderingEngine_java.RenderOnImage( 
   container ,
   inputImage 
)

Parameters

container
The source AnnContainer to be rendered.
inputImage
The target RasterImage.

Return Value

The result image containing the original image data plus the objects of the container overlaid on top.
Remarks

RenderOnImage can be used to quickly render an annotation to a destination image. The method will automatically renders the objects of the container fitted into the rectangle created by the image width and height keeping the aspect ratio. This method does not erase the content of the image, instead the objects are rendered on top of the existing pixel data.

The method can be used to quickly accomplish the following:

RenderState can be used to control what state parts of the annotation objects are rendered. For example, you may choose not to render the lock or content pictures when creating a thumbnail, save the original value of RenderState, set it to AnnRenderState.None, call RenderOnImage and then re-set the original value.

This method returns the same inputImage reference.

Requirements

Target Platforms

See Also

Reference

AnnAndroidRenderingEngine Class
AnnAndroidRenderingEngine Members

Error processing SSI file
Leadtools.Annotations.Rendering requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features