(Leadtools.Annotations.Rendering)

AnnWinFormsRenderingEngine Constructor(AnnContainer,Graphics)

Show in webframe




The annotation container that contains the objects to draw.
The destination graphics context to render the annotations to.
Initializes a new AnnWinFormsRenderingEngine with the specified parameters.
Syntax
public AnnWinFormsRenderingEngine( 
   AnnContainer container,
   Graphics context
)
public AnnWinFormsRenderingEngine( 
   AnnContainer container,
   Graphics context
)

            

            
function AnnWinFormsRenderingEngine( 
   container ,
   context 
)

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 Leadtools.Annotations.Core.AnnRenderingEngine.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 Leadtools.Annotations.Core.AnnRenderingEngine.Renderers along with its id to be usable by this AnnWinFormsRenderingEngine object.

Requirements

Target Platforms

See Also

Reference

AnnWinFormsRenderingEngine Class
AnnWinFormsRenderingEngine Members
Overload List

 

 


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