Skip to content

Commit 8a2a3ad

Browse files
authored
[FormRecognizer] Removed setters from FormPage properties (#11918)
1 parent 466b1d2 commit 8a2a3ad

File tree

1 file changed

+5
-5
lines changed
  • sdk/formrecognizer/Azure.AI.FormRecognizer/src

1 file changed

+5
-5
lines changed

sdk/formrecognizer/Azure.AI.FormRecognizer/src/FormPage.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,23 @@ internal FormPage(PageResult_internal pageResult, IReadOnlyList<ReadResult_inter
3535
/// <summary>
3636
/// The general orientation of the text in clockwise direction, measured in degrees between (-180, 180].
3737
/// </summary>
38-
public float TextAngle { get; set; }
38+
public float TextAngle { get; }
3939

4040
/// <summary>
4141
/// The width of the image/PDF in pixels/inches, respectively.
4242
/// </summary>
43-
public float Width { get; set; }
43+
public float Width { get; }
4444

4545
/// <summary>
4646
/// The height of the image/PDF in pixels/inches, respectively.
4747
/// </summary>
48-
public float Height { get; set; }
48+
public float Height { get; }
4949

5050
/// <summary>
5151
/// The unit used by the width, height and <see cref="BoundingBox"/> properties. For images, the unit is
5252
/// &quot;pixel&quot;. For PDF, the unit is &quot;inch&quot;.
5353
/// </summary>
54-
public LengthUnit Unit { get; set; }
54+
public LengthUnit Unit { get; }
5555

5656
/// <summary>
5757
/// When <see cref="RecognizeOptions.IncludeTextContent"/> is set to <c>true</c>, a list of recognized lines of text.
@@ -60,7 +60,7 @@ internal FormPage(PageResult_internal pageResult, IReadOnlyList<ReadResult_inter
6060
/// proximity is treated with higher priority. As the sorting order depends on the detected text, it may change across
6161
/// images and OCR version updates. Thus, business logic should be built upon the actual line location instead of order.
6262
/// </summary>
63-
public IReadOnlyList<FormLine> Lines { get; set; }
63+
public IReadOnlyList<FormLine> Lines { get; }
6464

6565
/// <summary>
6666
/// A list of extracted tables contained in a page.

0 commit comments

Comments
 (0)