The
CopyC# class encapsulates the width and
height of a component (in int precision) in a single object.
Namespace: System.Drawing
Dimension
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public class Dimension : Dimension2D |
Visual Basic |
---|
Public Class Dimension _ Inherits Dimension2D |
Visual C++ |
---|
public ref class Dimension : public Dimension2D |
Remarks
The class is
associated with certain properties of components. Several methods
defined by the
CopyC# class and the
CopyC# interface return a
CopyC# object.
Normally the values of
CopyC#
and
CopyC# are non-negative ints.
The constructors that allow you to create a dimension do
not prevent you from setting a negative value for these properties.
If the value of
CopyC# or
CopyC# is
negative, the behavior of some methods defined by other objects is
undefined.

Component

LayoutManager

Dimension

width

height

width

height