Leadtools.Annotations.Core Namespace > AnnRenderingEngine Class : RenderLayers Method |
public virtual void RenderLayers( LeadRectD clipRect, AnnLayerCollection layers, AnnContainer container, bool runMode )
Public Overridable Sub RenderLayers( _ ByVal clipRect As LeadRectD, _ ByVal layers As AnnLayerCollection, _ ByVal container As AnnContainer, _ ByVal runMode As Boolean _ )
public virtual void RenderLayers( LeadRectD clipRect, AnnLayerCollection layers, AnnContainer container, bool runMode )
This method uses the mapper in container to calculate the destination rectangle and any other transform 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", 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.