I have annotations layer with that was imported from ArcGIS and want to set font in MapInfo.
ArcGIS annotations contains its settings inside annotations objects (in Shape
field, as I guess) but this information duplicates in usual, non-gis string and integer fields (FontName
, FontSize
, Bold
etc).
I'm read font options from that fields and try to set text font:
Dim fs As Integer
Dim altering_obj As Object
' ...
Fetch Next From annotations
fs = annotations.bold + 2 * annotations.italic + 4 * annotations.underline
altering_obj = annotations.obj
Alter Object altering_obj
Info OBJ_INFO_TEXTFONT, MakeFont(annotations.fontname, fs, annotations.fontsize, BLACK, -1)
Font name, style (bold, italic etc), color are applies but font size doesn't. May be I'm do wrong something? How can I change font size?
MapInfo versions is 10.5.2, and also I tried in very old 6.5.
Both versions has same behavior.