ImageGear for .NET User Guide > Using ImageGear for .NET > Using ImageGear.Formats.Office Namespace > Working with Word Documents > WordprocessingML Groups Supported by ImageGear > Paragraph |
Paragraph is the most basic unit of block-level content within a WordprocessingML document. It defines a distinct division of content with a WordprocessingML document which begins on a new line. Below is the table of Paragraph’s features, supported by ImageGear:
Feature |
Description |
Comment |
Borders |
This element specifies a set of borders around the paragraph. |
ImageGear supports almost all Open XML border styles, except the following:
|
Indentation |
This element specifies a set of indentation properties applied to the current paragraph. |
Fully supported. |
Horizontal text alignment |
This element specifies the paragraph alignment which shall be applied to text in this paragraph. |
Supported alignments are:
|
Vertical text alignment |
This element specifies the vertical alignment of all text on each line displayed within a paragraph. If the line |
Supported alignments are:
|
Shading |
This element specifies the shading applied to the contents of the paragraph.
The resulting shading is applied by setting the background color behind the paragraph, then applying the pattern color using the mask supplied by the pattern over that background. |
If Pattern of the shading is specified, ImageGear supports only clear and solid types of the Pattern, i.e. no any percentage or style (stripe, cross, diagonal…) in the pattern. |
Text flow direction |
This element specifies the direction of the text flow for this paragraph. |
ImageGear supports only left-to-right and right-to-left directions. But WordprocessingML allows also setting e.g. bottom-to-top flow. |
Spacing between lines and paragraphs |
This element specifies the inter-line and inter-paragraph spacing which shall be applied to the contents of this |
Fully supported, if explicit spacing before/after paragraph is specified. Otherwise, if that parameter is “Auto”, which according to ECMA specification: Specifies whether a consumer shall automatically determine the spacing before/after this In such case ImageGear will try to set appropriate spacing between paragraphs, but in some cases displayed text can slightly differ from some other WordprocessingML viewers (e.g. Microsoft Word). |