Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetParagraphSetting – PB Docs 125 – PowerBuilder Library

GetParagraphSetting – PB Docs 125

GetParagraphSetting PowerScript function

Description

Gets the size of the indentation, left margin, or right margin
of the paragraph containing the insertion point in a RichTextEdit
control.

Controls

RichTextEdit controls

Syntax

Argument

Description

rtecontrol

The name of the control for which you
want paragraph information.

whichsetting

A value of the ParagraphSetting enumerated
datatype specifying the setting for which you want the value. Values
are:

  • Indent! – Returns
    the indentation of the paragraph

  • LeftMargin! – Returns the left margin of
    the paragraph

  • RightMargin! – Returns the right margin
    of the paragraph

Return Values

Long. Returns the size of the specified
setting in thousandths of an inch. GetParagraphSetting returns
-1 if an error occurs. If whichsetting is null,
it returns null.

Examples

This example gets the indentation setting for the
current paragraph:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x