Description
Reloads the geometry of all the article's text from the database.
The function returns 1013 (ECANCELLED) if the version of the geometry in the database is the same that the already loaded one and so nothing has changed.
Available in Ted.
Syntax
object.RefreshGeometry |
object
Required. Object name. Returned by Ted.GetActiveArticle.
Example
This script refreshes the article's geometry and displays the result.
If Ted.HasActiveArticle Then
Dim objArticle = Ted.GetActiveArticle
Dim iError As Integer = objArticle.RefreshGeometry
If iError = 1013 Then
MsgBox("This article's geometry is up-to-date.")
Else
MsgBox("The article's geometry was refreshed.")
End If
End If
Context
Article object
See also