Select to view content in your preferred language

characterMarkerSymbol properties

1145
4
01-20-2011 04:34 AM
HenkZwols
Regular Contributor
Hello all,

It must be simple, but i don't see it.
I'm looking for a way to access all properties of a characterMarkerSymbol: Formatted text, fill pattern, background and mask.

Can somebody help with this.

If TypeOf pSymbol Is ICharacterMarkerSymbol Then
  Dim pCharacterMarkerSymbol As ICharacterMarkerSymbol
  Set pCharacterMarkerSymbol = pSymbol
  debug.print pCharacterMarkerSymbol.Angle
  ...
  'background ...
  'fill pattern ...
  'schadow ...
endif


Thanks, Henk
0 Kudos
4 Replies
Venkata_RaoTammineni
Regular Contributor
Hello all,

It must be simple, but i don't see it.
I'm looking for a way to access all properties of a characterMarkerSymbol: Formatted text, fill pattern, background and mask.

Can somebody help with this.

If TypeOf pSymbol Is ICharacterMarkerSymbol Then
  Dim pCharacterMarkerSymbol As ICharacterMarkerSymbol
  Set pCharacterMarkerSymbol = pSymbol
  debug.print pCharacterMarkerSymbol.Angle
  ...
  'background ...
  'fill pattern ...
  'schadow ...
endif


Thanks, Henk


http://forums.arcgis.com/threads/5945-drawing-an-icharactermarkersymbol
0 Kudos
HenkZwols
Regular Contributor
http://forums.arcgis.com/threads/5945-drawing-an-icharactermarkersymbol


I don't see how this link helps me to find what i'm looking for 😞

Henk
0 Kudos
by Anonymous User
Not applicable
Hi Henk,

The properties of a CharacterMarkerSymbol that are not already on the ICharacterMarkerSymbol interface can be found on the other interfaces that are implemented by the CharacterMarkerSymbolClass. Such as IMarkerMask and ISymbolRotation.
Formatted text is not very appropiate I would think, since a CharacterMarkerSymbol represents one character in a font.

Regards,

JosP
0 Kudos
HenkZwols
Regular Contributor
Now i see that i made a mistake. I thought i was handling a labelsymbol, but it was a symbol from the classrenderer. The symbol for labeling is a textSymbol and now a can use formattedTextSymbol to access the properties i want.

Thanks, Henk
0 Kudos