never mind, i was told that in 10 there will be dynamic text that can be added to MXDs to handle this
Yes. A very nice feature indeed. Right under the Insert Menu -> Insert Dynamic TextRead posts about version 10 before migrating... I jumped the gun now i wish I waited. VBA for example is being phased out which is most evident by the fact that in version 10 you can no longer add UI Controls (buttons, tools, etc) in the Normal Template only on document level.
'Add Date pPoint = New Point If strLayoutType = "Landscape" Then pPoint.PutCoords(10.35, 0.25) Else pPoint.PutCoords(7.85, 0.25) End If pAV = pMxDoc.PageLayout pTextElement = New TextElement pElement = pTextElement pElement.Geometry = pPoint Dim strDate As String = DateTime.Now.Month.ToString & "/" & DateTime.Now.Day.ToString & "/" & DateTime.Now.Year.ToString myFont.Name = "Arial" myFont.Size = 6 myTextSymbol.Font = myFont myTextSymbol.HorizontalAlignment = ESRI.ArcGIS.Display.esriTextHorizontalAlignment.esriTHALeft pTextElement.Text = strDate pTextElement.Symbol = myTextSymbol AddElement(pTextElement, pPoint, "Date")
'Add Date Set pPoint = New Point If strLayoutType = "Landscape" Then pPoint.PutCoords 9.9, 0.3 Else pPoint.PutCoords 7.4, 0.3 End If Set pAV = pMxDoc.PageLayout Set pTextElement = New TextElement Set pElement = pTextElement pElement.Geometry = pPoint strDate = Date myFont.Name = "Arial" myFont.size = 12 myTextSymbol.Font = myFont myTextSymbol.HorizontalAlignment = esriTHALeft pTextElement.Text = strDate pTextElement.Symbol = myTextSymbol AddElement pTextElement, pPoint, "Date"
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.