Quick Labelផ្ទាំងអន្តរកម្ម

Label Control

បើកកម្មវិធីបង្កើតកន្សោមស្លាកជាទម្រង់មើលឃើញ ដែលផ្សំស្លាក Arcade ច្រើនបន្ទាត់ពីវាល និងអនុគមន៍ ជាមួយការមើលជាមុនផ្ទាល់ និងការគ្រប់គ្រងពុម្ពអក្សរ ទំហំ និងពណ៌តាមផ្នែក។

រកឃើញនៅឯណា
KGA Toolbox ▸ Data Management ▸ Quick Label ▸ Label Control

ទិដ្ឋភាពទូទៅ

ArcGIS Pro's own label expression box is a plain text editor — you write Arcade by hand and find out whether it works by applying it. This tool builds the expression from a row-based interface, previews the rendered result as you go, and lets each segment carry its own formatting.

ការប្រើប្រាស់

  • The dialog is organised around a list of expression rows. Each row contributes one segment of the finished label, and the rows are joined in order.
  • Rows are managed with the buttons beside the list:
ControlEffect
+ Click to add new expression line / + NewAdds a row
/ Moves a row up or down, changing segment order
DuplicateCopies a row, keeping its formatting
Removes a row
ResetClears the builder
Reload from layerReads the expression currently on the layer back into the builder
CopyCopies the generated Arcade expression to the clipboard
  • Concatenation mode controls how each row joins to the next: NewLine is how a stacked label — parcel number above area, for example — is built.
ModeJoins with
NoSpaceNothing — segments run together
SpaceA single space
CustomText you supply
NewLineA line break, producing a stacked multi-line label
TabA tab
  • Functions are available per row and cover the usual label needs: DefaultValue is worth noting — it substitutes a fallback where a field is null, which avoids the blank and <Null> labels that plague real data. Use Superscript (sup) for units such as m².
GroupFunctions
TextConcatenate, Left, Right, Find, Replace, Trim, Upper, Lower, Proper, Length, Text
NumericRound, Ceil, Floor, Count
DateYear, Month, Hour, Minute
LogicWhen, Decode, DefaultValue
FormattingSuperscript (sup), Subscript (sub)
  • Formatting can be set globally — Global Font Name, Global Size, Global Style, Global Color — and then overridden on individual rows, so one segment can be bold or coloured while the rest stays plain. For Khmer text, choose a Unicode Khmer font such as Khmer OS or Hanuman.
  • Label Class selects which of the layer's label classes the expression is written to, so existing label classes need not be disturbed. Label Position sets the placement.
  • The Preview pane renders the label as it will appear, segment formatting included. Check it before applying — it catches null-value and spacing problems that are invisible in the raw expression.
  • Labeling applies the expression to the chosen label class and turns labelling on.
  • Unlike Show Area and the Display tools, this builder writes a normal label class. The result is saved with the project, prints, and can be edited afterwards in the standard Labeling ribbon.

ប៉ារ៉ាម៉ែត្រ

This tool opens a window rather than a geoprocessing dialog. Its controls are:

Parameters for Label Control
ផ្ទាំងគ្រប់គ្រងការពិពណ៌នា
Layer

The feature layer to label.

Label Class

The label class the expression is written to.

Label Position

The label placement option.

Source

The field or function inserted into the current row.

Expression rows

The ordered segments making up the label, each with its own function, concatenation mode, and optional formatting override.

Global Font Name

The default font for all segments. Choose a Unicode Khmer face for Khmer text.

Global Size

The default text size.

Global Style

The default text style.

Global Color

The default text colour.

Current Label Expression

The generated Arcade expression, read-only. Use Copy to take it elsewhere.

Preview

A live rendering of the finished label.

របៀបប្រើ

  1. In the Contents pane, select the layer to label.
  2. On the KGA Toolbox tab, in the Data Management group, open the Quick Label menu and click Label Control.
  3. Confirm Layer and choose the Label Class to write to.
  4. Click + Click to add new expression line and pick a field in Source.
  5. Add further rows for each segment. Set each row's concatenation mode — use NewLine where the label should stack onto a second line.
  6. Apply a function to a row where the raw field value is not what you want — Round for an area, DefaultValue to avoid a blank label, Superscript (sup) for a unit.
  7. Set Global Font Name, Global Size, Global Style, and Global Color, then override individual rows as needed.
  8. Check the Preview pane. Confirm null values and spacing look right.
  9. Click Labeling to apply the expression and switch labelling on.

ព័ត៌មានអាជ្ញាបណ្ណ

Requires an active KGA Toolbox license. The tool validates the license before running.

មើលផងដែរ

ត្រឡប់ទៅឯកសារណែនាំ