←Select platform

RenderContainer Method

Summary

Renders a container using the specified clip rectangle.

Syntax

C#
VB
Java
WinRT C#
C++
public virtual void RenderContainer( 
   LeadRectD clipRect, 
   AnnContainer container, 
   bool runMode 
) 
Public Overridable Sub RenderContainer( _ 
   ByVal clipRect As Leadtools.LeadRectD, _ 
   ByVal container As Leadtools.Annotations.Core.AnnContainer, _ 
   ByVal runMode As Boolean _ 
)  
public void renderContainer(LeadRectD clipRect, AnnContainer container, boolean runMode) 
 function Leadtools.Annotations.Core.AnnRenderingEngine.RenderContainer(  
   clipRect , 
   container , 
   runMode  
) 
public:  
   virtual void RenderContainer( 
      LeadRectD^ clipRect, 
      AnnContainer^ container, 
      bool 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 in container coordinates. The engine will only render into this area. If you do not want to use a clip rectangle, pass LeadRectD.Empty.

container
The container to render.

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 transforms 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:

  • 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly