AtalaAnnotationViewerCreateVisual Method (Size, WpfVisualScaleMode, Thickness) |
Returns a Visual object of the annotations and current 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(
Size pageSize,
WpfVisualScaleMode scaleMode,
Thickness padding
)
Public Function CreateVisual (
pageSize As Size,
scaleMode As WpfVisualScaleMode,
padding As Thickness
) As Visual
Parameters
- pageSize
- Type: System.WindowsSize
The page size used to scale the annotation and image rendering. - scaleMode
- Type: Atalasoft.Annotate.WpfWpfVisualScaleMode
The type of scaling to perform. - padding
- Type: System.WindowsThickness
The padding around the annotations and image.
Return Value
Type:
VisualA Visual object of the annotations and image.
See Also