Defines an interface with properties and methods for representing Bates stamp elements.
function lt.Annotations.Documents.IAnnBatesElement class lt.Annotations.Documents.IAnnBatesElement() This example creates different Bates stamp elements and sets their properties.
example: function SiteLibrary_DefaultPage$example() {//The base interface for all bates stamp elementsvar baseElement = null;//Create AnnBatesDateTime element and set its propertiesvar dateTimeElement = new lt.Annotations.Documents.AnnBatesDateTime();dateTimeElement.currentDateTime = new Date();dateTimeElement.kind = lt.Annotations.Documents.AnnDateTimeKind.local;dateTimeElement.format = "M/d/yy";baseElement = dateTimeElement;//The content of this dateTimeElementalert(baseElement.asString()); // the output will be "9/14/15"//Create AnnBatesNumber element and set its propertiesvar numberElement = new lt.Annotations.Documents.AnnBatesNumber();numberElement.numberOfDigits = 4;numberElement.prefixText = "PrefixTest";numberElement.startNumber = 5;numberElement.suffixText = "SuffixTest";numberElement.useAllDigits = true;numberElement.autoIncrement = true;baseElement = numberElement;//print the content of this numberElementalert(baseElement.asString()); // the output will be "PrefixTest0005SuffixTest"//Create AnnBatesText elementvar textElement = lt.Annotations.Documents.AnnBatesText.create("This is text");baseElement = textElement;//print the content of this textElementalert(baseElement.asString()); // the output will be "This is text"},