HiraokaHyperTools.iTextSharp-LGPL  0.2.5
System.Drawing.Dimension2D Class Referenceabstract

The More...

Inheritance diagram for System.Drawing.Dimension2D:
System.Drawing.Dimension

Public Member Functions

abstract void SetSize (double width, double height)
 Sets the size of this More...
 
Object Clone ()
 Creates a new object of the same class as this object. More...
 

Protected Member Functions

 Dimension2D ()
 This is an abstract class that cannot be instantiated directly. Type-specific implementation subclasses are available for instantiation and provide a number of formats for storing the information necessary to satisfy the various accessor methods below. More...
 

Properties

abstract double Width [get]
 Returns the width of this More...
 
abstract double Height [get]
 Returns the height of this More...
 
Dimension2D Size [set]
 Sets the size of this More...
 

Detailed Description

The

Dimension2D class is to encapsulate a width and a height dimension.

This class is only the abstract baseclass for all objects that store a 2D dimension. The actual storage representation of the sizes is left to the subclass.

Constructor & Destructor Documentation

◆ Dimension2D()

System.Drawing.Dimension2D.Dimension2D ( )
protected

This is an abstract class that cannot be instantiated directly. Type-specific implementation subclasses are available for instantiation and provide a number of formats for storing the information necessary to satisfy the various accessor methods below.

See also
T:System.Drawing.Dimension

Member Function Documentation

◆ Clone()

Object System.Drawing.Dimension2D.Clone ( )

Creates a new object of the same class as this object.

Returns
a clone of this instance

◆ SetSize()

abstract void System.Drawing.Dimension2D.SetSize ( double  width,
double  height 
)
pure virtual

Sets the size of this

Dimension object to the specified width and height.

Parameters
widththe new width for the
Dimension
object
heightthe new height for the
Dimension
object

Implemented in System.Drawing.Dimension.

Property Documentation

◆ Height

abstract double System.Drawing.Dimension2D.Height
get

Returns the height of this

Dimension in double precision.

the height

◆ Size

Dimension2D System.Drawing.Dimension2D.Size
set

Sets the size of this

Dimension2D object to match the specified size.

the size

◆ Width

abstract double System.Drawing.Dimension2D.Width
get

Returns the width of this

Dimension in double precision.

the width


The documentation for this class was generated from the following file: