Description
This class is used to specify the position of tables and paragraphs in a Word document. Although the term "absolute" is used, the position is relative to some location in the document or page. Absolute positioning is set in twips. 1 twip = 1/20 pt = 1/1440 in.
C#
vb.net
Remarks
You cannot create an AbsolutePositioning object using the new
keyword. You must get it from a ParagraphFormatting or Table object using the AbsolutePositioning
property.
The following sample gets the AbsolutePositioning
object of the first table of a document.
Examples
C#
vb.net
Properties
Name |
Description |
---|---|
Sets or returns an int that represents the height in twips. |
|
Specifies whether AbsolutePositioning.Height is an exact height (true) or a minimum height (false). | |
Returns the horizontal origin of the position's AbsolutePositioning.X. Possible values are: Column, Margin, Page. | |
Sets or returns the vertical origin of the position's AbsolutePositioning.Y. Possible values are: Margin, Page, Text. | |
Sets or returns an int that represents the absolute width in twips. One twip = (1/20 pt) or (1/1440 in) |
|
Sets or returns an int that represents the x coordinate in twips. One twip = (1/20 pt) or (1/1440 in) |
|
Sets or returns an int that represents the position's y coordinate in twips. One twip = (1/20 pt) or (1/1440 in) |
Nested Classes
Name |
Description |
---|---|
An AbsolutePositioning.HorizontalOrigin value specifies the vertical origin of a table or paragraph position's y coordinate. | |
An AbsolutePositioning.VerticalOrigin value specifies the vertical origin of a table or paragraph position's y coordinate. |