Exemplo n.º 1
0
// **********************************************************
//		AddLabelEx()
// **********************************************************
void CMapView::AddLabelEx(long LayerHandle, LPCTSTR Text, OLE_COLOR Color, double x, double y, short hJustification, double Rotation)
{
	CComPtr<ILabels> labels = GetLayerLabels(LayerHandle);
	if (labels)
	{
		CComBSTR s(Text);
		labels->AddLabel(s, x, y, Rotation);
	}
}