skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TableWidthUnit

Defines preferred width of a table or table cell.

Inheritance
System.Object
TableWidthUnit
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll

Syntax

public class TableWidthUnit

Constructors

TableWidthUnit(Double)

Initializes a new instance of the TableWidthUnit class.

Declaration
public TableWidthUnit(double value)
Parameters
System.Double value

The value in device independent pixels (1/96 inch).

TableWidthUnit(TableWidthUnitType)

Initializes a new instance of the TableWidthUnit class.

Declaration
public TableWidthUnit(TableWidthUnitType type)
Parameters
TableWidthUnitType type

The type.

TableWidthUnit(TableWidthUnitType, Double)

Initializes a new instance of the TableWidthUnit class.

Declaration
public TableWidthUnit(TableWidthUnitType type, double value)
Parameters
TableWidthUnitType type

The type.

System.Double value

The value in device independent pixels (1/96 inch).

Properties

Type

Gets or sets the unit type type.

Declaration
public TableWidthUnitType Type { get; }
Property Value
TableWidthUnitType

The unit type.

Value

Gets or sets the unit value value. The value is in device independent pixels (1/96 inch).

Declaration
public double Value { get; }
Property Value
System.Double

The unit value.

Methods

Equals(Object)

Determines whether the specified System.Object is equal to the current System.Object.

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

The System.Object to compare with the current System.Object.

Returns
System.Boolean

Returns true if the specified System.Object is equal to the current System.Object; otherwise, false.

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration
public override int GetHashCode()
Returns
System.Int32

A hash code for the current System.Object.

Overrides
System.Object.GetHashCode()

ToString()

Returns a System.String that represents the current System.Object.

Declaration
public override string ToString()
Returns
System.String

A System.String that represents the current System.Object.

Overrides
System.Object.ToString()

Operators

Equality(TableWidthUnit, TableWidthUnit)

Determines whether the specified table width units are equal.

Declaration
public static bool operator ==(TableWidthUnit a, TableWidthUnit b)
Parameters
TableWidthUnit a

TableWidthUnit b

Returns
System.Boolean

True if the table width units are equal.

Inequality(TableWidthUnit, TableWidthUnit)

Determines whether the specified table width units are different.

Declaration
public static bool operator !=(TableWidthUnit a, TableWidthUnit b)
Parameters
TableWidthUnit a

TableWidthUnit b

Returns
System.Boolean

True if the table width units are different.

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.