Click or drag to resize

AnnotateSpaceConverterViewSpaceToDocumentSpace Method (IAnnotate, RectangleF)

Converts a rectangle from view space to document space.

Namespace:  Atalasoft.Annotate
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static RectangleF ViewSpaceToDocumentSpace(
	IAnnotate parent,
	RectangleF rectangle
)

Parameters

parent
Type: Atalasoft.Annotate.UIIAnnotate
The IAnnotate parent used for converting between view, document and annotation spaces. This can be null (Nothing in VB) if only converting between document and annotation space.
rectangle
Type: System.DrawingRectangleF
The rectangle to convert.

Return Value

Type: RectangleF
The rectangle converted to document space.
Remarks
For this method to function accurately the parent parameter must be provided when constructing the AnnotateSpaceConverter.
See Also