Xojo Documentation
Xojo Documentation
Home
Getting Started
Get Started with Xojo
QuickStarts
Tutorials
Pi Programming
More Guides
Resources
In-Depth Guides
User Guide
Language Reference
Resources
Release Notes
System Requirements
Deprecations
Videos
Feedback
About
Usage
Copyrights and Trademarks
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Paragraph.Length
From Xojo Documentation
Property
(As
Integer
)
a
Paragraph
.
Length
=
new
Integer
Value
or
Integer
Value
=
a
Paragraph
.
Length
Supported for all project types and targets.
Length (in characters) of the paragraph.
Example
TextArea1
.
StyledText
.
Text =
"Hello, World!"
// Bold the text
Var
len
As
Integer
= TextArea1
.
StyledText
.
Paragraph(
1
)
.
Length
TextArea1
.
StyledText
.
Bold(
0
, len) =
True
Category
:
Properties