LEADTOOLS JavaScript (Leadtools.Annotations.Core)

RenderLayer Method

Show in webframe
The destination clip rectangle Leadtools.LeadRectD, in container coordinates. The engine will only render into this area. Pass LeadRectD.Empty if you do not want to use a clip rectangle.
The layer to render.
The owner container.
true to render this container in run mode; otherwise, false.
Renders an individual layer using the specified clip rectangle.
Syntax
 function Leadtools.Annotations.Core.AnnRenderingEngine.renderLayer( 
   clipRect ,
   layer ,
   container ,
   runMode 
)

Parameters

ParameterTypeDescription
clipRectLeadRectDThe destination clip rectangle Leadtools.LeadRectD, in container coordinates. The engine will only render into this area. Pass LeadRectD.Empty if you do not want to use a clip rectangle.
layerAnnLayerThe layer to render.
containerAnnContainerThe owner container.
runModebooltrue to render this container in run mode; otherwise, false.
Remarks

This method uses the mapper in container to calculate the destination rectangle and any other transforms 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:

See Also

Reference

AnnRenderingEngine Object
AnnRenderingEngine Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.