FOM Reference > Display > Page Content > fdContentArea interface
  
fdContentArea interface
This is the base object representing an area on the formatted page.
ContentAreaTypes enumeration
Which method to use when justifying the contents of the frame.
The ContentAreaTypes enumeration has the following constants of type int.
AREATYPE_LINE = 0
This area is a text line (fdLine).
AREATYPE_TABLE = 1
This area is a table (fdTable).
AREATYPE_TABLECELL = 2
This area is a table cell (fdTableCell).
AREATYPE_BLOCK = 3
This area is a block (fdBlock).
AREATYPE_BLOCKREGION = 4
This area is a block region (fdBlockRegion).
AREATYPE_WRAPPER = 5
This area is a wrapper (fdWrapper).
AREATYPE_HIDDEN = 6
This area is a hidden line (fdHidden).
height attribute
The height of the area.
height
Access
read-only
Returns
fLength
startPos attribute
The current formatting state at the start of the area.
startPos
Access
read-only
Returns
fdStreamPos
type attribute
The type of the area. Possible values are in fdContentArea-ContentAreaTypes.
type
Access
read-only
Returns
int
width attribute
The width of the area.
width
Access
read-only
Returns
fLength
x attribute
The x coordinate of the area.
x
Access
read-only
Returns
fLength
y attribute
The y coordinate of the area.
y
Access
read-only
Returns
fLength
ybase attribute
The baseline of the area.
ybase
Access
read-only
Returns
fLength
highlight method
Highlights this area on the page. If called, this method will automatically set display.screenDrawLevel.contentAreaHighlights to true.
highlightmode
Parameters
booleanmode
If true, draw a box around this area, depending on the current draw level. Otherwise, remove any existing highlighting on this area. This parameter defaults to true.
Returns
void. None.