←Select platform
In This Topic ▼

AnnWinFormsRenderingEngine Class Members

Summary

The following tables list the members exposed by AnnWinFormsRenderingEngine.

Public Constructors

Name Description
Public Constructor AnnWinFormsRenderingEngine Initializes a new AnnWinFormsRenderingEngine with the specified parameters.

Protected Constructors

Name Description
Protected Constructor AnnRenderingEngine Initializes a new instance of this class. (Inherited from 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 AnnRenderingEngine)
Public Method Burn Burns the annotation objects in Container to the destination context using the existing destination rectangle and resolution (DPI). (Inherited from AnnRenderingEngine)
Public Method BurnToRect Burns the annotation objects in Container to the destination context and destination rectangle. (Inherited from AnnRenderingEngine)
Public Method BurnToRectWithDpi Burns the annotation objects in Container to the destination context and destination rectangle at the specified resolution. (Inherited from AnnRenderingEngine)
Public Method Detach Detaches this this drawing engine from the container.
Public Method DrawPicture Helper method to draw an AnnPicture using the properties of this rendering engine.
Public Method static  | Shared in VB FromFont Helper method to convert System.Drawing.Font to AnnFont.
Public Method static  | Shared in VB GetTextSize Returns the size of a text with an AnnFont and clipping size.
Public Method MeasureString Measures the specified string when drawn with the specified font.
Public Method OnLoadPicture Overrides OnLoadPicture.
Public Method Render Renders the AnnContainer associated with this AnnRenderingEngine using the specified clip rectangle. (Inherited from AnnRenderingEngine)
Public Method RenderContainer Renders a container using the specified clip rectangle. (Inherited from AnnRenderingEngine)
Public Method RenderGrid Renders overlaying grid into specified container.
Public Method RenderLayer Renders an individual layer using the specified clip rectangle. (Inherited from AnnRenderingEngine)
Public Method RenderLayers Renders annotation layers using the specified clip rectangle. (Inherited from 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.Drawing.Brush with alpha, opacity and bounding rectangle values.
Public Method static  | Shared in VB ToFont Helper method to convert AnnFont to System.Drawing.Font.
Public Method static  | Shared in VB ToLinearGradientBrush Helper method to convert AnnLinearGradientBrush to System.Drawing.Brush with opacity and bounding rectangle values.
Public Method static  | Shared in VB ToPen Helper method to convert AnnStroke to System.Drawing.Pen using an opacity.
Public Method static  | Shared in VB ToPoint Helper method to convert LeadPointD to System.Drawing.PointF.
Public Method static  | Shared in VB ToPointF Helper method to convert LeadPointD to System.Drawing.PointF.
Public Method static  | Shared in VB ToPoints Helper method to convert array of LeadPointD to array of System.Drawing.PointF.
Public Method static  | Shared in VB ToSolidBrush Helper method to convert AnnSolidColorBrush to System.Drawing.Brush with opacity value.

Public Properties

Name Description
Public Property ClipRectangle Gets the current clipping rectangle for this AnnRenderingEngine. (Inherited from AnnRenderingEngine)
Public Property Container Gets the AnnContainer associated with this AnnRenderingEngine. (Inherited from AnnRenderingEngine)
Public Property static  | Shared in VB ContainerLabelRenderer Gets the renderer used to render the container labels. (Inherited from AnnRenderingEngine)
Public Property Context Gets the destination graphics context 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 AnnRenderingEngine)
Public Property LoadingPictureStroke Gets or sets the object to use for stroking the border of the loading picture placeholder rectangle. (Inherited from AnnRenderingEngine)
Public Property Renderers Gets or sets the list of available AnnRenderingEngines. (Inherited from AnnRenderingEngine)
Public Property RenderState Gets or sets the states parts of the annotation objects to render. (Inherited from AnnRenderingEngine)
Public Property Resources Gets or sets the default resources for this AnnRenderingEngine. (Inherited from AnnRenderingEngine)
Public Property SnapToGridOptions Gets or sets the default AnnSnapToGridOptions. (Inherited from AnnRenderingEngine)
Public Property Stateless Gets a value that indicate whether this rendering engine is stateless. (Inherited from AnnRenderingEngine)

Public Events

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

See Also

Reference

AnnWinFormsRenderingEngine Class

Leadtools.Annotations.Rendering Namespace

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

Leadtools.Annotations.Rendering.WinForms Assembly