(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. 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 LeadRectD.Empty.
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
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 virtual void RenderLayer( 
   LeadRectD clipRect,
   AnnLayer layer,
   AnnContainer container,
   bool runMode
)

            

            
 function Leadtools.Annotations.Core.AnnRenderingEngine.RenderLayer( 
   clipRect ,
   layer ,
   container ,
   runMode 
)

Parameters

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 LeadRectD.Empty.
layer
The layer to render.
container
The owner container.
runMode
true 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 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:

Requirements

Target Platforms

See Also

Reference

AnnRenderingEngine Class
AnnRenderingEngine Members

 

 


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