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: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxprotected void ApplyRegionTransform(
AnnotationRegion region,
AnnotateSpace space
)
Protected Sub ApplyRegionTransform (
region As AnnotationRegion,
space As AnnotateSpace
)
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| Exception | Condition |
|---|
| ArgumentNullException | Thrown if the region argument is null (Nothing in VB). |
Examples
See the
GetRegion
method for an example of using
ApplyRegionTransform.
See Also