Renders an individual layer using the specified clip rectangle.
renderLayer(
clipRect: LeadRectD,
layer: AnnLayer,
container: AnnContainer,
runMode: boolean
): void;
clipRect
The destination clip rectangle LeadRectD, in container coordinates. The engine will only render into this area. Pass
LeadRectD.Empty if you do not want to use a clip rectangle.
layer
The layer to render.
container
The owner container.
runMode
true to render this container in run mode; otherwise, false.
This method uses the mapper in container to calculate the destination rectangle and any other transforms to be applied.
The value of runModecontrols whether this method renders the thumbs, selection objects and other parts used in design mode of the annotation objects as follows:
To render the current state of the designers "as is" (for example, when performing automation in a viewer), pass false.
Most of the time when burning annotations to an image the design mode parts are not required, so you pass true.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET