AnnotationRenderingEngineBurnTranslucentAnnotation Method |
This method is used to burn translucent (highlighter) annotations onto an image.
Namespace:
Atalasoft.Annotate.Renderer
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax protected virtual void BurnTranslucentAnnotation(
RenderEnvironment environment,
RectangleF bounds,
Color color,
AnnotationImage mask
)
Protected Overridable Sub BurnTranslucentAnnotation (
environment As RenderEnvironment,
bounds As RectangleF,
color As Color,
mask As AnnotationImage
)
Parameters
- environment
- Type: Atalasoft.Annotate.RendererRenderEnvironment
The RenderEnvironment containing the image to burn onto. - bounds
- Type: System.DrawingRectangleF
The bounding rectangle where the annotation will be placed. - color
- Type: System.DrawingColor
The color of the highlighter. - mask
- Type: Atalasoft.AnnotateAnnotationImage
A mask image used to apply the highlight effect.
Exceptions Exception | Condition |
---|
| Thrown if the Image or ImageObject property of the RenderEnvironment is null (Nothing in VB).
|
See Also