Coord Class

This class designed to represent data related to coordinates of PUB fields. Every field in PUB holds coordinates has 2 pairs of coordinates: coordinates of upper-left corner (XLeft, YTop) and coordinates of bottom-right corner(XRight, YBottom). All coordinates represented in special metric system - English Metric Unit(EMUs). Additional methods were added into this class to transform coordinate values from english metric units into inches.
Inheritance Hierarchy
SystemObject
  Aspose.Pub.UtilsCoord

Namespace:  Aspose.Pub.Utils
Assembly:  Aspose.PUB (in Aspose.PUB.dll) Version: 20.2
Syntax
public class Coord : ICloneable

The Coord type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyXLeft
X-coordinate of upper-left corner in EMUs
Public propertyXRight
X-coordinate of bottom-right corner in EMUs
Public propertyYBottom
Y-coordinate of bottom-right corner in EMUs
Public propertyYTop
Y-coordinate of upper-left corner in EMUs
Methods
  NameDescription
Public methodCalculateHeight
Calculates height of figure(current Coord object) and returns result in inches
Public methodCalculateWidth
Calculates width of figure(current Coord object) and returns result in inches
Public methodCalculateX
Transforms value for X-coordinate from natural PUB metric system into inches
Public methodCalculateX(Double)
Transforms value for X-coordinate from natural PUB metric system into inches
Public methodCalculateY
Transforms value for Y-coordinate from natural PUB metric system into inches
Public methodCalculateY(Double)
Transforms value for Y-coordinate from natural PUB metric system into inches
Public methodClone
Created copy of object
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetHeight
Returns height of current Coord object in natural PUB metrics
Public methodGetType (Inherited from Object.)
Public methodGetWidth
Returns width of current Coord object in natural PUB metrics
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also