WpfAnnotationCanvasCreateVisual Method (BitmapSource) |
Returns a Visual object of the annotations and optional source image using the specified
parameters. This is useful for printing annotations or saving them to XPS documents.
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 Visual CreateVisual(
BitmapSource source
)
Public Function CreateVisual (
source As BitmapSource
) As Visual
Parameters
- source
- Type: System.Windows.Media.ImagingBitmapSource
A source image the annotations will render over. This may be null (Nothing in VB).
Return Value
Type:
Visual A Visual object of the annotations and image.
Remarks When a source image is provided, the annotation rendering will be clipped to the image area.
Examples CreateVisual Method
See Also