Table of Contents

TPaperDimensions Record

Dimensions of an Excel paper

Syntax

Unit: FlexCel.Core

TPaperDimensions = record;

Fields

Name Description
PaperName Paper Name.
Width Paper width in inches/100
Height Paper height in inches/100

Methods

Name Description
Create Overloaded
Create(TPaperSize)
Create(string, Double, Double)
mm Converts millimeters to inches/100
in100 Converts inches/100 to millimeters
IsNull Returns true if the record doesn't have a defined value.
HasValue Returns true if the record has a defined value. This is the inverse of IsNull

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
SizeInPoints The size in points (inches/72)