←Select platform

AnnD2DRenderingEngine Class

Summary

For a list of all members of this type, see AnnD2DRenderingEngine members

Public Methods

Name Description
Attach Attaches a container and a context to this drawing engine.
AttachContainers Attaches this rendering engine to list of annotation containers and a drawing context (D2DSurface).
ClearSurface Clears the d2d drawing context with selected solid brush
Detach Detaches this drawing engine from the container.
DetachContainers Detaches this drawing engine from the containers list.
DrawPicture Helper method to draw an AnnPicture using the properties of this rendering engine.
LoadPictureAsync Loads the picture data resource for the specified AnnObject.
LoadResourceToPicture Loads the picture data resource for each AnnObject in the specified AnnContainer.
MeasureString Measures the specified string when drawn with the specified font.
OnLoadPicture Overrides OnLoadPicture.
Render Overrides AnnRenderingEngine.Render.
RenderOnCanvas Renders the container into the specified RenderTargetBitmap.
RenderOnImage Renders the container into the specified image.
ToBrush Helper method to convert AnnBrush to System.Windows.Media.Brush with alpha, opacity and bounding rectangle values.
ToD2DFont Helper method to convert AnnFont to Leadtools.Windows.D2DRendering.D2DFont.
ToD2DPen Helper method to convert AnnStroke to Leadtools.Windows.D2DRendering.D2DPen using an opacity.
ToFillRule Helper method to convert AnnFillRule to System.Windows.Media.FillRule.
ToFontStretch Helper method to convert AnnFontStretch to System.Windows.Media.FontStretch.
ToFontStyle Helper method to convert AnnFontStyle to System.Windows.Media.FillRule.
ToFontWeight Helper method to convert AnnFontWeight to System.Windows.Media.FontWeight.
ToSolidBrush Helper method to convert AnnSolidColorBrush to System.Windows.Media.Brush with opacity value.
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Rendering Assembly
Click or drag to resize