Click or drag to resize

AnnotationRenderingEngineGetTranslucentHandle Method

Returns a GDI HDC used for rendering the translucent effect.

Namespace:  Atalasoft.Annotate.Renderer
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
protected IntPtr GetTranslucentHandle(
	RenderEnvironment e,
	RectangleF annotationBounds,
	AnnotationPen pen,
	AnnotationBrush fill
)

Parameters

e
Type: Atalasoft.Annotate.RendererRenderEnvironment
The RenderEnvironment used.
annotationBounds
Type: System.DrawingRectangleF
A bounding rectangle for the annotation.
pen
Type: Atalasoft.AnnotateAnnotationPen
The AnnotationPen used for drawing lines.
fill
Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used for filling objects.

Return Value

Type: IntPtr
An HDC that can be used for rendering the translucent area.
Remarks
The HDC returned from this function must be released using the ReleaseTranslucentHandle(RenderEnvironment) method.
See Also