LineAnnotationGetRegion Method |
Namespace: Atalasoft.Annotate.UI
public override AnnotationRegion GetRegion(AnnotateSpace space) { Create the region in annotation space. AnnotationRegion reg = new AnnotationRegion(new RectangleF(PointF.Empty, _data.Size)); if (this.Selected && this.Grips != null) AddGripsToRegion(reg); ApplyRegionTransform(reg, space); return reg; }
Public Overrides Function GetRegion(ByVal space As AnnotateSpace) As AnnotationRegion ' Create the region in annotation space. Dim reg As AnnotationRegion = New AnnotationRegion(New RectangleF(PointF.Empty,_data.Size)) If Not Me.Selected And Me.Grips Is Nothing Then AddGripsToRegion(reg) End If ApplyRegionTransform(reg, space) Return reg End Function