ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Word Processing functions / Types of variables
  • Properties specific to docElementTextArea variables
  • Available preset shapes
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The docElementTextArea type is used to define the advanced characteristics of a text area found in a docElement variable. The characteristics of this text area can be defined and modified using various WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
MonDoc is Document

e is docElement
e.Type = typeDocElementTextArea

e.TextArea.Height = 40
e.TextArea.Width = 50
e.TextArea.Wrapping = docWrappingFramed
e.TextArea.X = 10
e.TextArea.Y = 10

e.TextArea.PresetShape = "rect"
e.TextArea.Background.Color = White
e.TextArea.Line.Color = LightRed
e.TextArea.Line.Thickness = 0.5
e.TextArea.Line.Type = LineDotted

f is docFragment(MonDoc, 1, 1)
DocInsert(f, e)

MonElem is docElement = f.Element[1]
MonElem.TextArea.Content.Text = "Texte zone de texte"
Properties

Properties specific to docElementTextArea variables

The following properties can be used to handle a Text Area element:
Property nameType usedEffect
Line.ThicknessRealLine thickness (in millimeters).
Line.TypeInteger constantType of line:
  • FeatureNo: No Line.
  • LineSolid:
  • LineSolidThick:
  • LineSolidMedium:
  • LineDouble:
  • LineDotAndDash:
  • LineDotAndDashMedium:
  • LineDotAndDashDoubleDash:
  • LineDotAndDashDoubleDashMedium:
  • LineDotted:
  • LineDottedMedium:
  • LineDash:
  • LineDashMedium:
Line.ColorInteger or Integer constantLine color: This color can correspond either to an RGB color (obtained with the RGB function), or to a preset color.
BackgroundBackground variableArea background.
ContentdocFragment variableFragment of area text.
HeightRealHeight of text area in millimeters.
InnerMarginBottomRealInside margin at the bottom of text area (in millimeters).
InnerMarginLeftRealInside margin on the left of text area (in millimeters)
InnerMarginRightRealInside margin on the right of text area (in millimeters)
InnerMarginTopRealInside margin at the top of text area (in millimeters)
LineCharacteristics of text area outline.
PresetShapeCharacter stringName of preset shape used for the area border. This property can correspond to:
  • Empty string: Shape corresponds to a square but has no outline.
  • "<nom de la forme>": Customized shape, displayed in the field but not managed by programming.. For more details, see Preset shapes.
WidthRealWidth of text area in millimeters.
WrappingInteger constantType of wrapping for the text area:
  • docHabillageAlignedOnText The text area is inserted on the line and is linked to the text location where it was inserted. It is processed like any character. It moves with the text.
  • docTrimAbove: Allows you to customize the trim..
  • docWatermarkBehindText Watermark the text area behind the text.
  • docFrameOverText Display text area on top of text.
  • docHabillageEncadré Wraps the text around the text area border (recommended for square text areas).
  • docTopBottomTrim The text area remains on its line, between two text sections at the top and bottom.
  • docApproachTrim Dress the text area according to its contours (recommended for round or irregularly shaped text areas).
XRealX position of text area in relation to its anchoring point (in millimeters).
This property is only used for text areas for which the Wrapping property is set to a constant other than docWrappingAlignedOnText.
YRealY position of text area in relation to its anchoring point (in millimeters).
This property is only used for text areas for which the Wrapping property is set to a constant other than docWrappingAlignedOnText.
ZOrderIntegerNumber corresponding to the Z-order of the text area.
This property is automatically modified when DocChangeZOrder is used.
Remarks

Available preset shapes

The following preset shapes are available:
orderCallout1curvedConnector5foldedCornerribbon2
accentBorderCallout2curvedDownArrowframerightArrow
accentBorderCallout3curvedLeftArrowfunnelrightArrowCallout
accentCallout1curvedRightArrowgear6rightBrace
accentCallout2curvedUpArrowgear9rightBracket
accentCallout3decagonhalfFrameround1Rect
actionButtonBackPreviousdiagStripeheartround2DiagRect
actionButtonBeginningdiamondheptagonround2SameRect
actionButtonBlankdodecagonhexagonroundRect
actionButtonDocumentdonuthomePlatertTriangle
actionButtonEnddoubleWavehorizontalScrollsmileyFace
actionButtonForwardNextdownArrowirregularSeal1snip1Rect
actionButtonHelpdownArrowCalloutirregularSeal2snip2DiagRect
actionButtonHomeellipsisleftArrowsnip2SameRect
actionButtonInformationellipseRibbonleftArrowCalloutsnipRoundRect
actionButtonMovieellipseRibbon2leftBracestar4
actionButtonReturnflowChartAlternateProcessleftBracketstar5
actionButtonSoundflowChartCollateleftCircularArrowstar6
arcflowChartConnectorleftRightArrowstar7
bentArrowflowChartDecisionleftRightArrowCalloutstar8
bentConnector2flowChartDelayleftRightCircularArrowstar10
bentConnector3flowChartDisplayleftRightUpArrowstar12
bentConnector4flowChartDocumentleftUpArrowstar16
bentConnector5flowChartExtractlightningBoltstar24
bentUpArrowflowChartInputOutputlinestar32
bevelflowChartInternalStoragemathDividestraightConnector1
blockArcflowChartMagneticDiskmathEqualstripedRightArrow
borderCallout1flowChartMagneticDrummathMinussun
borderCallout2flowChartMagneticTapemathMultiplyswooshArrow
borderCallout3flowChartManualInputmathNotEqualteardrop
bracePairflowChartManualOperationmathPlustrapezoid
bracketPairflowChartMergemoontriangle
callout1flowChartMultidocumentnonIsoscelesTrapezoidupArrow
callout2flowChartOfflineStoragenoSmokingupArrowCallout
callout3flowChartOffpageConnectornotchedRightArrowupDownArrow
canflowChartOnlineStorageoctagonupDownArrowCallout
chevronflowChartOrparallelogramuturnArrow
chordflowChartPredefinedProcesspentagonverticalScroll
circularArrowflowChartPreparationpieWedgewave
cloudCalloutflowChartProcessplaquewedgeEllipseCallout
cornerflowChartPunchedCardpluswedgeRectCallout
cubeflowChartPunchedTapequadArrowwedgeRoundRectCallout
curvedConnector2flowChartSortquadArrowCallout
curvedConnector3flowChartSummingJunctionrect
curvedConnector4flowChartTerminatorribbon
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help