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         
The expression to be used to generate the label string against the table in the feature layer.
horizontalAlignment    tns:HorizontalAlignmentType    optional         
Defines how a label appears horizontally in relation to a reference geometry.
verticalAlignment    tns:VerticalAlignmentType    optional         
Defines how a label appears vertically in relation to a reference geometry.
xOffset    xsd:double    optional         
Set the offset, in points, for the label in X direction (horizontal) and Y direction (vertical).
yOffset    xsd:double    optional         
appinfo
deprecated
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         
Set whether or not the label should be allowed to overlap other labels.
allowOutOfView    xsd:boolean    optional         
Determine whether or not the label should be allowed if the reference position is outside of the view.
allowDuplicate    tns:AllowDuplicateType    optional         
The value which specifies the duplicate level of Label.
recalculationType    tns:RecalculationType    optional         
Controls the calculation of reference point while rendering labels.
labelRelativeOrientation    tns:LabelRelativeOrientationType    optional         
Defines how a label appears vertically in relation to a reference geometry.
justification    tns:Justification    optional         
Defines the justification of multi-line text.
description
Properties that define how the labels will be rendered.

attribute LabelProperties/@expression
type xsd:string
properties
use   optional
description
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
The left side of the label should be aligned horizontally with the reference geometry.
enumeration   CENTER
The center of the label should be aligned horizontally with the reference geometry.
enumeration   RIGHT
The right side of the label should be aligned horizontally with the reference geometry.
description
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
The top side of the label should be aligned vertically with the reference geometry.
enumeration   MIDDLE
The middle of the label should be aligned vertically with the reference geometry.
enumeration   BOTTOM
The bottom side of the label should be aligned vertically with the reference geometry.
enumeration   BASELINE

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
description
Defines how a label appears vertically in relation to a reference geometry.

attribute LabelProperties/@xOffset
type xsd:double
properties
use   optional
description
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
description
appinfo
deprecated
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
description
Set whether or not the label should be allowed to overlap other labels.

attribute LabelProperties/@allowOutOfView
type xsd:boolean
properties
use   optional
description
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
Duplicate labels are allowed between layers.
enumeration   INTRALAYER
Duplicate labels are allowed within same layer.
enumeration   ALL
Duplicate labels allowed of all level (IntraLayer and InterLayer).
description
The value which specifies the duplicate level of Label.

attribute LabelProperties/@recalculationType
type tns:RecalculationType
properties
use   optional
facets
Kind   Value   Annotation
enumeration   ALWAYS
The reference point for partially visible geometries is recalculated whenever the view is changed or redrawn.
enumeration   OUT_OF_VIEW
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
The reference point is not recalculated when the map view changes.
description
Controls the calculation of reference point while rendering labels.

attribute LabelProperties/@labelRelativeOrientation
type tns:LabelRelativeOrientationType
properties
use   optional
facets
Kind   Value   Annotation
enumeration   PARALLEL
The label is oriented on a straight line that is parallel to the line that contains the reference point.
enumeration   FOLLOW_PATH
The label text follows the path of the line/polyline.
description
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
Multi-line text should be left justified.
enumeration   CENTER
Multi-line text should be center justified.
enumeration   RIGHT
Multi-line text should be right justified.
description
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         
The spatial reference system name associated with this geometry.
description
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         
The unit of measure for this angle.
description
Defines how a label appears horizontally in relation to a reference geometry.



© 2016 Pitney Bowes Software Inc. Email: pbbi.support@pb.com