←Select platform

RenderLayers Method

Summary
Renders annotation layers using the specified clip rectangle.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public virtual void RenderLayers( 
   LeadRectD clipRect, 
   AnnLayerCollection layers, 
   AnnContainer container, 
   bool runMode 
) 
- (void)renderLayers:(LTAnnLayerCollection *)layers clipRect:(LeadRectD)clipRect container:(LTAnnContainer *)container runMode:(BOOL)runMode NS_SWIFT_NAME(render(_:clipRect:container:runMode:)); 
public void renderLayers(LeadRectD clipRect, AnnLayerCollection layers, AnnContainer container, boolean runMode) 
public:  
   virtual void RenderLayers( 
      LeadRectD^ clipRect, 
      AnnLayerCollection^ layers, 
      AnnContainer^ container, 
      bool runMode 
   ) 
def RenderLayers(self,clipRect,layers,container,runMode): 

Parameters

clipRect
The destination clip rectangle Leadtools.LeadRectD in container coordinates. The engine will only render into this area. Pass LeadRectD.Empty to not use a clip rectangle.

layers
The layers 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  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.

Requirements

Target Platforms

Help Version 22.0.2023.7.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.