Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Annotations.Rendering Namespace > AnnWinRTRenderingEngine Class : RenderLayers Method |
public override void RenderLayers( LeadRectD clipRect, AnnLayerCollection layers, AnnContainer container, bool runMode )
'Declaration
Public Overrides Sub RenderLayers( _ ByVal clipRect As LeadRectD, _ ByVal layers As AnnLayerCollection, _ ByVal container As AnnContainer, _ ByVal runMode As Boolean _ )
'Usage
Dim instance As AnnWinRTRenderingEngine Dim clipRect As LeadRectD Dim layers As AnnLayerCollection Dim container As AnnContainer Dim runMode As Boolean instance.RenderLayers(clipRect, layers, container, runMode)
public override 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 of ths 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.