Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

GetRenderPoints Method (AnnD2DTextRollupObjectRenderer)







The mapper object to use for converting coordinates.
The object to render.
Gets the points that must be rendered for this object.
Syntax
public override LeadPointD[] GetRenderPoints( 
   AnnContainerMapper mapper,
   AnnObject annObject
)
'Declaration
 
Public Overrides Function GetRenderPoints( _
   ByVal mapper As AnnContainerMapper, _
   ByVal annObject As AnnObject _
) As LeadPointD()
'Usage
 
Dim instance As AnnD2DTextRollupObjectRenderer
Dim mapper As AnnContainerMapper
Dim annObject As AnnObject
Dim value() As LeadPointD
 
value = instance.GetRenderPoints(mapper, annObject)
public override LeadPointD[] GetRenderPoints( 
   AnnContainerMapper mapper,
   AnnObject annObject
)
 function Leadtools.Annotations.Rendering.AnnD2DTextRollupObjectRenderer.GetRenderPoints( 
   mapper ,
   annObject 
)

Parameters

mapper
The mapper object to use for converting coordinates.
annObject
The object to render.

Return Value

An array of points to render.
Remarks

This method is called by the renderer to get the points of the objects. The default implementation in this class returns the same points as AnnObject.Points. The renderer then draws a polyline or polygon of these points and strokes and fills it to draw the object.

This implementation is enough for simple objects such as a line or a rectangle and the type renderer will just use this default implementation and not override this behavior. If you have a more complex shape where the number of points to render is not the same as AnnObject.Points, then you can override this method to return your own set of points.

Requirements

Target Platforms

See Also

Reference

AnnD2DTextRollupObjectRenderer Class
AnnD2DTextRollupObjectRenderer Members

Error processing SSI file
Leadtools.Annotations.Rendering requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features