←Select platform

AnnWinFormsRenderingEngine Constructor(AnnContainer,Graphics)

Summary

Initializes a new AnnWinFormsRenderingEngine with the specified parameters.

Syntax
C#
VB
C++
Public Function New( _ 
   ByVal container As AnnContainer, _ 
   ByVal context As Graphics _ 
) 

Parameters

container
The annotation container that contains the objects to draw.

context
The destination graphics context to render the annotations to.

Remarks

This constructor will call Attach passing the container and context.

This constructor will initializes the following default renderers and set them in the Renderers dictionary:

Object ID Renderer
AnnObject.SelectObjectId

AnnRectangleObjectRenderer

AnnObject.LineObjectId

AnnPolylineObjectRenderer

AnnObject.RectangleObjectId

AnnRectangleObjectRenderer

AnnObject.EllipseObjectId

AnnEllipseObjectRenderer

AnnObject.PolyRulerObjectId

AnnPolyRulerObjectRenderer

AnnObject.RulerObjectId

AnnPolyRulerObjectRenderer

AnnObject.PolylineObjectId

AnnPolylineObjectRenderer

AnnObject.PolygonObjectId

AnnPolylineObjectRenderer

AnnObject.StampObjectId

AnnStampObjectRenderer

AnnObject.RubberStampObjectId

AnnRubberStampObjectRenderer

AnnObject.TextObjectId

AnnTextObjectRenderer

AnnObject.TextRollupObjectId

AnnTextRollupObjectRenderer

AnnObject.TextPointerObjectId

AnnTextPointerObjectRenderer

AnnObject.ProtractorObjectId

AnnProtractorObjectRenderer

AnnObject.CrossProductObjectId

AnnCrossProductObjectRenderer

AnnObject.FreehandObjectId

AnnPolylineObjectRenderer

AnnObject.HotspotObjectId

AnnHotspotObjectRenderer

AnnObject.FreehandHotspotObjectId

AnnFreehandHotspotObjectRenderer

AnnObject.NoteObjectId

AnnNoteObjectRenderer

AnnObject.HiliteObjectId

AnnHiliteObjectRenderer

AnnObject.PointObjectId

AnnPointObjectRenderer

AnnObject.CurveObjectId

AnnCurveObjectRenderer

AnnObject.ClosedCurveObjectId

AnnCurveObjectRenderer

AnnObject.PointerObjectId

AnnPointerObjectRenderer

AnnObject.EncryptObjectId

AnnEncryptObjectRenderer

AnnObject.MediaObjectId and AnnObject.AudioObjectId

AnnMediaObjectRenderer

Any user defined objects must be added to the Renderers along with its id to be usable by this AnnWinFormsRenderingEngine object.

Requirements

Target Platforms

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

Leadtools.Annotations.Rendering.WinForms Assembly