←Select platform

AnnWinRTRenderingEngine Constructor (AnnWinRTRenderingEngine)

Summary

Initializes a new AnnWinRTRenderingEngine with the specified parameters.

Syntax

C#
VB
WinRT C#
public AnnWinRTRenderingEngine(  
   Leadtools.Annotations.Core.AnnContainer container, 
   Canvas context 
) 
Public Function New( _ 
   ByVal container As Leadtools.Annotations.Core.AnnContainer, _ 
   ByVal context As Canvas _ 
) 
public AnnWinRTRenderingEngine(  
   Leadtools.Annotations.Core.AnnContainer container, 
   Canvas context 
) 
function AnnWinRTRenderingEngine(  
   container , 
   context  
) 

Parameters

container
The annotation container that contains the objects to draw.

context
The destination canvas context to render the annotations to.

Remarks

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 AnnWinRTRenderingEngine object.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Rendering Assembly
Click or drag to resize