|Top Previous Next|
Specifies a vertical anchor area for a floating box.
rvvanMainTextArea, rvvanTopMargin, rvvanBottomMargin);
A text box is positioned vertically relative to the area specified in this property.
Differences from Microsoft Word*:
▪In MS Word, a "line" anchor does not have a height. MS Word uses only a top line coordinate, so a center and a bottom alignments relative to a line are different in TRichView and MS Word.
▪MS Word does not support alignment relative to a paragraph (so TRichView exports it as an alignment to a line).
▪MS Word does not support a relative (percent) alignment relative to a line or a paragraph (so TRichView exports them as absolute positions with zero offsets).
▪MS Word does not implement all options for vertical positioning relative to a cell:
•absolute positions for all options (except for a line and a paragraph) are calculated relative to the cell area minus cellpadding (i.e. top of cell + top cell padding).
•any alignment or percent position moves the box exactly to the cell area minus cellpadding (i.e. top of cell + top cell padding).
(* this information is based on tests of MS Word 2013)
TRichView © trichview.com