Search found 6 matches

by Dongsu
Thu Jun 03, 2010 5:36 pm
Forum: ActiveX
Topic: Clear IMapPolygonPtr
Replies: 5
Views: 6716

Re: Clear IMapPolygonPtr

Hi Yeray,

Thank you for your answer. Do you think it is possible to update this function in ActiveX and release the new version of it very soon?
Otherwise, I have to change code a lot due to this issue.

Dongsu
by Dongsu
Thu Jun 03, 2010 5:32 pm
Forum: ActiveX
Topic: CalcPosPoint Precision Error
Replies: 2
Views: 4323

Re: CalcPosPoint Precision Error

This is not good news. Indeed, I also have used TeeChart in VCL and was able to get non-rounded value.
That's why I tried to find functions in ActiveX as well.

Anyway, thank you.

Dongsu
by Dongsu
Wed Jun 02, 2010 4:24 pm
Forum: ActiveX
Topic: CalcPosPoint Precision Error
Replies: 2
Views: 4323

CalcPosPoint Precision Error

Hi, After drawing a series (Polygon), I extracted (X,Y) positions but found there was a differece from the original value with about 0.05 in my case. I used the following code: void GetPolygonPoints(IMapPolygonPtr tPolygon, ITChartPtr Chart) { IPointArrayPtr vertexPts = tPolygon->GetPoints; PointD v...
by Dongsu
Tue Jun 01, 2010 3:23 pm
Forum: ActiveX
Topic: Clear IMapPolygonPtr
Replies: 5
Views: 6716

Re: Clear IMapPolygonPtr

Hi Yeray, Thank you for your answer. But in the ActiveX, I was able to access Polygons of a MapSeries and added points (X,Y). The following is a sample code to create and access polygon. My question was "is it possible to clear a polygon to reuse it?". In other words, "is it possible to delete (X,Y)...
by Dongsu
Fri May 28, 2010 5:46 pm
Forum: ActiveX
Topic: Clear IMapPolygonPtr
Replies: 5
Views: 6716

Clear IMapPolygonPtr

Hi, I try to edit and make change an existing Polygon. After clearing existing XY info and add new XY point using AddXY() function. But, I could not find a function from IMapPolygon like Series->Clear(). What I want to do is something like this: void EditPolygon(IMapPolygonPtr tPolygon) { tPolygon->...
by Dongsu
Thu May 06, 2010 4:33 pm
Forum: ActiveX
Topic: Set 'Legend Every' in Palette
Replies: 1
Views: 3483

Set 'Legend Every' in Palette

Hi, I could not find the way how to programmatically set Legend Every in Palette. Of course, I was able to change this number in Chart Editor. Please see the following code. void TChartConfig::SetPolygonColor(IMapSeriesPtr tMapSeries) { // Set up Palette Steps tMapSeries->UsePaletteMin = TRUE; tMapS...