complexType LabelProperties
diagram mapping_p469.png
namespace http://www.mapinfo.com/midev/service/mappingcommon/v1
children tns:Style tns:ReferenceGeometry tns:Angle
used by
elements LabelProperties LabelIndividualValueTheme/AllOthers LabelRangeTheme/AllOthers LabelCustomRangeTheme/AllOthers LabelRangeTheme/EndLabelProperties FeatureLayer/LabelProperties LabelSource/LabelProperties LabelRangeTheme/StartLabelProperties
attributes
Name  Type  Use  Default  Fixed  Annotation
expression  xsd:string  optional      
documentation
The expression to be used to generate the label string against the table in the feature layer.
horizontalAlignment  tns:HorizontalAlignmentType  optional      
documentation
Defines how a label appears horizontally in relation to a reference geometry.
verticalAlignment  tns:VerticalAlignmentType  optional      
documentation
Defines how a label appears vertically in relation to a reference geometry.
xOffset  xsd:double  optional      
documentation
Set the offset, in points, for the label in X direction (horizontal) and Y direction (vertical).
yOffset  xsd:double  optional      
appinfo
deprecated
documentation
Deprecated: This attribute will be removed in future release and currently it is ignored. Set the offset, in points, for the label in the Y direction (vertical).
allowOverlap  xsd:boolean  optional      
documentation
Set whether or not the label should be allowed to overlap other labels.
allowOutOfView  xsd:boolean  optional      
documentation
Determine whether or not the label should be allowed if the reference position is outside of the view.
allowDuplicate  tns:AllowDuplicateType  optional      
documentation
The value which specifies the duplicate level of Label.
recalculationType  tns:RecalculationType  optional      
documentation
Controls the calculation of reference point while rendering labels.
labelRelativeOrientation  tns:LabelRelativeOrientationType  optional      
documentation
Defines how a label appears vertically in relation to a reference geometry.
justification  tns:Justification  optional      
documentation
Defines the justification of multi-line text.
annotation
documentation
Properties that define how the labels will be rendered.

attribute LabelProperties/@expression
type xsd:string
properties
use optional
annotation
documentation
The expression to be used to generate the label string against the table in the feature layer.

attribute LabelProperties/@horizontalAlignment
type tns:HorizontalAlignmentType
properties
use optional
facets
Kind Value Annotation
enumeration LEFT
documentation
The left side of the label should be aligned horizontally with the reference geometry.
enumeration CENTER
documentation
The center of the label should be aligned horizontally with the reference geometry.
enumeration RIGHT
documentation
The right side of the label should be aligned horizontally with the reference geometry.
annotation
documentation
Defines how a label appears horizontally in relation to a reference geometry.

attribute LabelProperties/@verticalAlignment
type tns:VerticalAlignmentType
properties
use optional
facets
Kind Value Annotation
enumeration TOP
documentation
The top side of the label should be aligned vertically with the reference geometry.
enumeration MIDDLE
documentation
The middle of the label should be aligned vertically with the reference geometry.
enumeration BOTTOM
documentation
The bottom side of the label should be aligned vertically with the reference geometry.
enumeration BASELINE
documentation

The baseline of the label should be aligned vertically with the reference geometry so that any descenders
in the text sit below the reference geometry. If the label has no baseline this may be handled as equivalent to BOTTOM
annotation
documentation
Defines how a label appears vertically in relation to a reference geometry.

attribute LabelProperties/@xOffset
type xsd:double
properties
use optional
annotation
documentation
Set the offset, in points, for the label in X direction (horizontal) and Y direction (vertical).

attribute LabelProperties/@yOffset
type xsd:double
properties
use optional
annotation
appinfo
deprecated
documentation
Deprecated: This attribute will be removed in future release and currently it is ignored. Set the offset, in points, for the label in the Y direction (vertical).

attribute LabelProperties/@allowOverlap
type xsd:boolean
properties
use optional
annotation
documentation
Set whether or not the label should be allowed to overlap other labels.

attribute LabelProperties/@allowOutOfView
type xsd:boolean
properties
use optional
annotation
documentation
Determine whether or not the label should be allowed if the reference position is outside of the view.

attribute LabelProperties/@allowDuplicate
type tns:AllowDuplicateType
properties
use optional
facets
Kind Value Annotation
enumeration INTERLAYER
documentation
Duplicate labels are allowed between layers.
enumeration INTRALAYER
documentation
Duplicate labels are allowed within same layer.
enumeration ALL
documentation
Duplicate labels allowed of all level (IntraLayer and InterLayer).
annotation
documentation
The value which specifies the duplicate level of Label.

attribute LabelProperties/@recalculationType
type tns:RecalculationType
properties
use optional
facets
Kind Value Annotation
enumeration ALWAYS
documentation
The reference point for partially visible geometries is recalculated whenever the view is changed or redrawn.
enumeration OUT_OF_VIEW
documentation
The reference point is only recalculated when a change in map view causes the current reference point to fall out of the view.
enumeration NEVER
documentation
The reference point is not recalculated when the map view changes.
annotation
documentation
Controls the calculation of reference point while rendering labels.

attribute LabelProperties/@labelRelativeOrientation
type tns:LabelRelativeOrientationType
properties
use optional
facets
Kind Value Annotation
enumeration PARALLEL
documentation
The label is oriented on a straight line that is parallel to the line that contains the reference point.
enumeration FOLLOW_PATH
documentation
The label text follows the path of the line/polyline.
annotation
documentation
Defines how a label appears vertically in relation to a reference geometry.

attribute LabelProperties/@justification
type tns:Justification
properties
use optional
facets
Kind Value Annotation
enumeration LEFT
documentation
Multi-line text should be left justified.
enumeration CENTER
documentation
Multi-line text should be center justified.
enumeration RIGHT
documentation
Multi-line text should be right justified.
annotation
documentation
Defines the justification of multi-line text.

element LabelProperties/ReferenceGeometry
diagram mapping_p470.png
namespace http://www.mapinfo.com/midev/service/mappingcommon/v1
type tns:Point
properties
minOcc 0
maxOcc 1
content complex
children tns:Pos
attributes
Name  Type  Use  Default  Fixed  Annotation
srsName  xsd:string  optional      
documentation
The spatial reference system name associated with this geometry.
annotation
documentation
Defines where a label appears and is called the reference geometry.

element LabelProperties/Angle
diagram mapping_p471.png
namespace http://www.mapinfo.com/midev/service/mappingcommon/v1
type tns:Angle
properties
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
uom  tns:AngularUnit  required      
documentation
The unit of measure for this angle.
annotation
documentation
Defines how a label appears horizontally in relation to a reference geometry.


© 2007, 2020 Precisely. All rights reserved. support.precisely.com