MapWinGIS:LabelCategory Position of labels

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

Table of contents

Contents


Methods and Properties

Alignment

The alignment of label relative to the basic point (the point set by (x,y) coordinates of the label). The default value is laCenter (centers text both vertically and horizontally)

Syntax

Enumeration tkLabelAlignment

return


InboxAlignment

Alignment of text inside bounding rectangle. Takes affect for multiline labels or when padding greater then 0 for label frame is set.

Syntax

Enumeration tkLabelAlignment

return


LineOrientation

The type of the label orientation along the line: horizontal, parallel, perpendicular. The position above line / under the line can specified by Labels.Alignment and Labels.OffsetY properties.

Syntax

return


OffsetX

Horizontal offset in pixels from the label position defined by Label.x, Label.y properties. In case of rotated labels the offset is calculated taking into account the angle of rotation. So terms ??horizontal?? and ??vertical?? are considered relative to the basic line of text.

Syntax

return


OffsetY

Horizontal offset in pixels from the label position defined by Label.x, Label.y properties. In case of rotated labels the offset is calculated taking into the account the angle of rotation. So terms ??horizontal?? and ??vertical?? are considered relative to the basic line of text.

Syntax

return

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:LabelCategory_Position_of_labels"

This page has been accessed 223 times. This page was last modified on 11 February 2010, at 13:52.


C# : MapWinGis.tkLabelAlignment Alignment { set; get; }
VB6: Property Alignment as tkLabelAlignment
laTopLeft = 0 no decription
laTopCenter = 1 no decription
laTopRight = 2 no decription
laCenterLeft = 3 no decription
laCenter = 4 no decription
laCenterRight = 5 no decription
laBottomLeft = 6 no decription
laBottomCenter = 7 no decription
laBottomRight = 8 no decription
C# : MapWinGis.tkLabelAlignment InboxAlignment { set; get; }
VB6: Property InboxAlignment as tkLabelAlignment
laTopLeft = 0 no decription
laTopCenter = 1 no decription
laTopRight = 2 no decription
laCenterLeft = 3 no decription
laCenter = 4 no decription
laCenterRight = 5 no decription
laBottomLeft = 6 no decription
laBottomCenter = 7 no decription
laBottomRight = 8 no decription
C# : MapWinGis.tkLineLabelOrientation LineOrientation { set; get; }
VB6: Property LineOrientation as tkLineOrientation
C# : double OffsetX { set; get; }
VB6: Property OffsetX as Double
C# : double OffsetY { set; get; }
VB6: Property OffsetY as Double