WpfAnnotationCanvasBurn Method (WpfAnnotationUI, BitmapSource) |
Burns the provided annotation and BitmapSource together, returning the combined image.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public BitmapSource Burn(
WpfAnnotationUI annotation,
BitmapSource source
)
Public Function Burn (
annotation As WpfAnnotationUI,
source As BitmapSource
) As BitmapSource
Parameters
- annotation
- Type: Atalasoft.Annotate.WpfWpfAnnotationUI
The annotation to burn. - source
- Type: System.Windows.Media.ImagingBitmapSource
A BitmapSource onto which the annotation will burn.
Return Value
Type:
BitmapSource A new image of the combined source image and annotation.
Exceptions Exception | Condition |
---|
| Thrown if any arguments are null (Nothing in VB). |
Examples Burn Method
See Also