WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Struct LengthRect

    Show / Hide Table of Contents

    Struct LengthRect

    Class for ViewBox.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Syncfusion.SVG.IO
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public struct LengthRect

    Constructors

    LengthRect(Length, Length, Length, Length)

    Initializes a new instance of the LengthRect struct.

    Declaration
    public LengthRect(Length x, Length y, Length width, Length height)
    Parameters
    Type Name Description
    Length x

    The x.

    Length y

    The y.

    Length width

    The width.

    Length height

    The height.

    LengthRect(RectangleF)

    Initializes a new instance of the LengthRect struct.

    Declaration
    public LengthRect(RectangleF rect)
    Parameters
    Type Name Description
    System.Drawing.RectangleF rect

    The rect.

    LengthRect(String)

    Initializes a new instance of the LengthRect struct.

    Declaration
    public LengthRect(string primary)
    Parameters
    Type Name Description
    System.String primary

    The primary.

    Properties

    Empty

    Gets the empty.

    Declaration
    public static LengthRect Empty { get; }
    Property Value
    Type Description
    LengthRect

    The empty.

    Height

    Gets the height.

    Declaration
    public Length Height { get; }
    Property Value
    Type Description
    Length

    The height.

    IsEmpty

    Gets a value indicating whether this instance is empty.

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is empty; otherwise, false.

    Width

    Gets the width.

    Declaration
    public Length Width { get; }
    Property Value
    Type Description
    Length

    The width.

    X

    Gets the X.

    Declaration
    public Length X { get; }
    Property Value
    Type Description
    Length

    The X.

    Y

    Gets the Y.

    Declaration
    public Length Y { get; }
    Property Value
    Type Description
    Length

    The Y.

    Methods

    Parse(String)

    Parses the specified value.

    Declaration
    public static LengthRect Parse(string value)
    Parameters
    Type Name Description
    System.String value

    The value.

    Returns
    Type Description
    LengthRect

    The length rect

    ToString()

    Returns the fully qualified type name of this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A System.String containing a fully qualified type name.

    Overrides
    System.ValueType.ToString()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved