alexa
menu

Document Processing

    Show / Hide Table of Contents

    RectangleData Class

    Represents rectangular bounds with X, Y coordinates, width, and height. Used to define redaction areas or signature placements in PDF documents.

    Inheritance
    System.Object
    RectangleData
    Namespace: Syncfusion.AI.AgentTools.PDF
    Assembly: Syncfusion.DocumentSDK.AI.AgentTools.dll
    Syntax
    public class RectangleData : Object

    Constructors

    RectangleData()

    Declaration
    public RectangleData()

    Properties

    Height

    Gets or sets the height of the rectangle.

    Declaration
    public float Height { get; set; }
    Property Value
    Type
    System.Single

    Width

    Gets or sets the width of the rectangle.

    Declaration
    public float Width { get; set; }
    Property Value
    Type
    System.Single

    X

    Gets or sets the X coordinate of the rectangle's top-left corner.

    Declaration
    public float X { get; set; }
    Property Value
    Type
    System.Single

    Y

    Gets or sets the Y coordinate of the rectangle's top-left corner.

    Declaration
    public float Y { get; set; }
    Property Value
    Type
    System.Single

    Methods

    ToRectangleF()

    Converts this RectangleData to a System.Drawing.RectangleF structure.

    Declaration
    public RectangleF ToRectangleF()
    Returns
    Type Description
    Syncfusion.Drawing.RectangleF

    A RectangleF with the same coordinates and dimensions.

    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved