Renders an individual layer using the specified clip rectangle.
public override void RenderLayer(
Leadtools.LeadRectD clipRect,
Leadtools.Annotations.Core.AnnLayer layer,
Leadtools.Annotations.Core.AnnContainer container,
bool runMode
)
Public Overrides Sub RenderLayer( _
ByVal clipRect As Leadtools.LeadRectD, _
ByVal layer As Leadtools.Annotations.Core.AnnLayer, _
ByVal container As Leadtools.Annotations.Core.AnnContainer, _
ByVal runMode As Boolean _
)
public override void RenderLayer(
Leadtools.LeadRectD clipRect,
Leadtools.Annotations.Core.AnnLayer layer,
Leadtools.Annotations.Core.AnnContainer container,
bool runMode
)
function Leadtools.Annotations.Rendering.AnnWinRTRenderingEngine.RenderLayer(
clipRect ,
layer ,
container ,
runMode
)
clipRect
The destination clip rectangle LeadRectD in container coordinates. The engine will only render into this area. The destination clip rectangle LeadRectD is in container coordinates. The engine will only render into this area. If you do not want to use a clip rectangle, pass Empty.
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 transform to be applied.
The value of runMode controls 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", pass false. An example of this is when performing automation in a viewer.
To burn the annotations to an image, pass true. Most of the time design mode parts are not required in run mode.
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