Click or drag to resize

AnnotationUIApplyRegionTransform Method

Use this method to convert a region from annotation space to document or view space.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
protected void ApplyRegionTransform(
	AnnotationRegion region,
	AnnotateSpace space
)

Parameters

region
Type: Atalasoft.AnnotateAnnotationRegion
The region to convert. This must be a region in annotation space.
space
Type: Atalasoft.AnnotateAnnotateSpace
The space to convert the region into. If this argument is AnnotateSpace.Annotation, no transform is applied.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the region argument is null (Nothing in VB).
Examples
See the GetRegion method for an example of using ApplyRegionTransform.
See Also