←Select platform
In This Topic ▼

AnnD2DRenderingEngine Class Members

Summary

The following tables list the members exposed by AnnD2DRenderingEngine.

Public Constructors

Name Description
Public Constructor AnnD2DRenderingEngine Initializes a new AnnD2DRenderingEngine.

Protected Constructors

Name Description
Protected Constructor AnnRenderingEngine Initializes a new instance of this class. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )

Public Methods

Name Description
Public Method Attach Attaches a container and a context to this drawing engine.
Public Method AttachContainer Attaches a container to this drawing engine. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Method AttachContainers Attaches this rendering engine to list of annotation containers and a drawing context (D2DSurface).
Public Method Burn Burns the annotation objects in Container to the destination context using the existing destination rectangle and resolution (DPI). (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Method BurnToRect Burns the annotation objects in Container to the destination context and destination rectangle. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Method BurnToRectWithDpi Burns the annotation objects in Container to the destination context and destination rectangle at the specified resolution. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Method static  | Shared in VB ClearSurface Clears the d2d drawing context with selected solid brush
Public Method Detach Detaches this drawing engine from the container.
Public Method DetachContainers Detaches this drawing engine from the containers list.
Public Method DrawPicture Helper method to draw an AnnPicture using the properties of this rendering engine.
Public Method MeasureString Measures the specified string when drawn with the specified font.
Public Method OnLoadPicture Overrides OnLoadPicture.
Public Method Render Overrides AnnRenderingEngine.Render.
Public Method RenderContainer Renders a container using the specified clip rectangle. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Method RenderGrid Renders the overlaying grid into the container. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Method RenderLayer Renders an individual layer using the specified clip rectangle. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Method RenderLayers Renders annotation layers using the specified clip rectangle. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Method RenderOnImage Renders the container into the specified image.
Public Method static  | Shared in VB ToBrush Helper method to convert AnnBrush to System.Windows.Media.Brush with alpha, opacity and bounding rectangle values.
Public Method static  | Shared in VB ToD2DFont Helper method to convert AnnFont to Leadtools.Windows.D2DRendering.D2DFont.
Public Method static  | Shared in VB ToD2DPen Helper method to convert AnnStroke to Leadtools.Windows.D2DRendering.D2DPen using an opacity.
Public Method static  | Shared in VB ToFillRule Helper method to convert AnnFillRule to System.Windows.Media.FillRule.
Public Method static  | Shared in VB ToFontStretch Helper method to convert AnnFontStretch to System.Windows.Media.FontStretch.
Public Method static  | Shared in VB ToFontStyle Helper method to convert AnnFontStyle to System.Windows.Media.FillRule.
Public Method static  | Shared in VB ToFontWeight Helper method to convert AnnFontWeight to System.Windows.Media.FontWeight.
Public Method static  | Shared in VB ToSolidBrush Helper method to convert AnnSolidColorBrush to System.Windows.Media.Brush with opacity value.

Public Properties

Name Description
Public Property ClipRectangle Gets the current clipping rectangle for this AnnRenderingEngine. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Property Container Gets the AnnContainer associated with this AnnRenderingEngine. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Property static  | Shared in VB ContainerLabelRenderer Gets the renderer used to render the container labels. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Property Containers Gets the list of containers we are using when drawing multiple containers
Public Property Context Gets the destination d2d surface object to use when rendering the annotation objects.
Public Property LoadingPictureFill Gets or sets the object to use for filling the background of the loading picture placeholder rectangle. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Property LoadingPictureStroke Gets or sets the object to use for stroking the border of the loading picture placeholder rectangle. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Property Renderers Gets or sets the list of available AnnRenderingEngines. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Property RenderState Gets or sets the states parts of the annotation objects to render. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Property Resources Gets or sets the default resources for this AnnRenderingEngine. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Property SnapToGridOptions Gets or sets the default AnnSnapToGridOptions. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )
Public Property Stateless Gets a value that indicate whether this rendering engine is stateless. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )

Public Events

Name Description
Public Event LoadPicture Occurs when a picture object has been finished loading its source image. (Inherited from Leadtools.Annotations.Engine.Leadtools.Annotations.Core.AnnRenderingEngine )

See Also

Reference

AnnD2DRenderingEngine Class

Leadtools.Annotations.Rendering Namespace

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

Leadtools.Annotations.Rendering.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.