public ExtractAnchor ToAPIExtractAnchor()
        {
            if (apiExtractAnchor != null)
            {
                return apiExtractAnchor;
            }
            else
            {
                ExtractAnchor result = new ExtractAnchor();

                result.LeftOffset = sdkTextAnchor.XOffset;
                result.TopOffset = sdkTextAnchor.YOffset;
                result.Text = sdkTextAnchor.AnchorText;
                result.Index = sdkTextAnchor.Occurrence;
                result.CharacterIndex = sdkTextAnchor.Character;
                result.AnchorPoint = new TextAnchorPositionConverter(sdkTextAnchor.Position).ToAPIAnchorPoint();
                result.Width = sdkTextAnchor.Width;
                result.Height = sdkTextAnchor.Height;

                return result;
            }
        }
 public TextAnchorConverter(ExtractAnchor apiExtractAnchor)
 {
     this.apiExtractAnchor = apiExtractAnchor;
 }