AnnotationControllerRenderAnnotations Method (RenderDevice, Graphics, LayerAnnotation) |
Renders the annotations in a specified layer to a Graphics
object.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void RenderAnnotations(
RenderDevice device,
Graphics graphics,
LayerAnnotation layer
)
Public Sub RenderAnnotations (
device As RenderDevice,
graphics As Graphics,
layer As LayerAnnotation
)
Parameters
- device
- Type: Atalasoft.AnnotateRenderDevice
Indicates the device that created the Graphics object. - graphics
- Type: System.DrawingGraphics
The Graphics object used for rendering. - layer
- Type: Atalasoft.Annotate.UILayerAnnotation
The layer to render.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown if the graphics or layer arguments are null (Nothing in VB). |
See Also