Table of Contents

TDrawingCoordinate Record

A coordinate in a drawing.

Syntax

Unit: FlexCel.Core

TDrawingCoordinate = record;

Constants

Name Description
CmToEmu Returns how many EMUs in 1 cm.
InchesToEmu Returns how many EMUs in 1 inch.
PointsToEmu Returns how many EMUs in 1 point.
PcToEmu Returns how many EMUs in 1 pc.
PiToEmu Returns how many EMUs in 1 pi.

Methods

Name Description
Create Creates a coordinate in Emus. To use other units, use the "From..." methods of this struct.
FromCm Creates a drawing coordinate from a measunement in centimeters.
FromMm Creates a drawing coordinate from a measunement in milimeters.
FromInches Creates a drawing coordinate from a measurement in inches.
FromPoints Creates a drawing coordinate from a measunement in points. (1/72 of an inch)
FromPi Creates a drawing coordinate from a measunement in Pi Excel units.
Equals Returns true if this instance has the same data as the object obj.
GetHashCode Returns the hashcode for this object
ToString Returns a string representing the measurement in cm.

Operators

Name Description
Equality Adapts the = operator so it returns true when both instances have the same values.
Inequality Adapts the <> operator so it returns true when both instances have different values.

Properties

Name Description
Emu Value of the coordinate in EMUs (English Metric Units)
Cm Value of the coordinate in cm
Inches Value of the coordinate in inches
Points Value of the coordinate in points
Pixels Value of the coordinate in pixels