Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.6
|
Leadtools.Annotations.Core Namespace > AnnRenderingEngine Class : RenderLayer Method |
public virtual void RenderLayer( LeadRectD clipRect, AnnLayer layer, AnnContainer container, bool runMode )
'Declaration
Public Overridable Sub RenderLayer( _ ByVal clipRect As LeadRectD, _ ByVal layer As AnnLayer, _ ByVal container As AnnContainer, _ ByVal runMode As Boolean _ )
public virtual void RenderLayer( LeadRectD clipRect, AnnLayer layer, AnnContainer container, bool runMode )
public void renderLayer(LeadRectD clipRect, AnnLayer layer, AnnContainer container, boolean runMode)
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.