Type Default Value Read Only Description Double 0.0 No The current horizontal positioning.

Notes

 This property determines the horizontal offset of blocks of text - used for left aligning, right aligning or centering. The offset is measured as a proportion of the distance from the left. A value of zero indicates left aligning, a value of one half indicates centered text and a value of one indicates right aligning. Intermediate values can be used for intermediate offsets. To vertically align text, use the VPos property. To justify text, use the XTextStyle.Justification property.

Example

 The following code adds two blocks of text to a document. The first block is left aligned, and the second is right aligned. Before adding the text, we change the current rectangle and frame it so that you can see how the text is aligned. ```Set theDoc = Server.CreateObject("ABCpdf11.Doc") theDoc.FontSize = 96 theDoc.Rect.Magnify 1.0, 0.5 theDoc.Rect.Inset 40, 40 theDoc.FrameRect theDoc.AddText "Left justified text..." theDoc.Rect.Move 0, theDoc.Rect.Height + 80 theDoc.FrameRect theDoc.HPos = 1.0 theDoc.AddText "Right justified text..." theDoc.Save "c:\mypdfs\dochpos.pdf"``` dochpos.pdf
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9441099166870117, "perplexity": 1597.171122139578}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2021-10/segments/1614178376006.87/warc/CC-MAIN-20210307013626-20210307043626-00135.warc.gz"}