Specifikuje prioritu popisky v případě, že se překrývá s jiným popiskem. Popisek s nižší prioritou není vykreslen. Výchozí hodnota je 1000.
Příklady
Příklady označování bodů
Ve výchozím nastavení SimpleLabeling kreslí text přes body:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aby bylo možné ovládat pozici textu vzhledem k bodovému prvku, musí být nastavena vlastnost umístění:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pro pokročilejší scénáře můžete chtít zvolit různá označování pro prvky. Zde je postup:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ve výchozím nastavení SimpleLabeling kreslí popisek poblíž středu čáry:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aby se popisky otáčely tak, že jsou rovnoběžné s čarami, lze použít LineLabelPlacement s LineLabelAlignment.Parallel:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pokud chcete, aby text přesně sledoval čáru, lze použít LineLabelPlacement s LineLabelAlignment.Curved:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pokud nechcete, aby se text překrýval s čarou, použijte LineLabelPlacement.Offset:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pro pokročilejší scénáře můžete chtít upravit styl popisků dynamicky na základě hodnot atributů prvků. Zde je postup:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters