Click or drag to resize

AnnotateSpaceConverterViewSpaceToAnnotationSpace Method (IAnnotate, AnnotationData, PointF)

Converts a point from view space to annotation space.

Namespace:  Atalasoft.Annotate
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: (.NET 4.5.2, x86)
public static PointF ViewSpaceToAnnotationSpace(
	IAnnotate parent,
	AnnotationData data,
	PointF point


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.
Type: Atalasoft.AnnotateAnnotationData
The AnnotationData object used for converting. This can be null (Nothing in VB) if only converting between view and document space.
Type: System.DrawingPointF
The point to convert.

Return Value

Type: PointF
The point value in annotation space.
For this method to function accurately both parent and data parameters must be provided when constructing the AnnotateSpaceConverter.
See Also