Click or drag to resize

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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public Visual CreateVisual(
	Size pageSize,
	WpfVisualScaleMode scaleMode,
	Thickness padding
)

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: Visual
A Visual object of the annotations and image.
See Also