Renders an individual layer using the specified clip rectangle.
public virtual void RenderLayer(
LeadRectD clipRect,
AnnLayer layer,
AnnContainer container,
bool runMode
)
Public Overridable Sub RenderLayer( _
ByVal clipRect As LeadRectD, _
ByVal layer As AnnLayer, _
ByVal container As AnnContainer, _
ByVal runMode As Boolean _
)
public void renderLayer(LeadRectD clipRect, AnnLayer layer, AnnContainer container, boolean runMode)
public:
virtual void RenderLayer(
LeadRectD^ clipRect,
AnnLayer^ layer,
AnnContainer^ container,
bool runMode
)
clipRect
The destination clip rectangle Leadtools.LeadRectD in container coordinates. The engine will only render into this area. The destination clip rectangle Leadtools.LeadRectD is in container coordinates. The engine will only render into this area. If you do not want to use a clip rectangle, pass Leadtools.LeadRectD.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 is 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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document