←Select platform

NextNumber Property

Summary
Gets or sets the next number used when creating labels for this一个nAutomationObject.
Syntax
C#
VB
Objective-C
C++
Java
publicvirtualintNextNumber {get;set; }
PublicOverridablePropertyNextNumberAsInteger
@property (nonatomic,assign)intnextNumber;
publicintgetNextNumber()publicvoidsetNextNumber(intvalue)
public:virtualpropertyInt32 NextNumber{Int32 get()voidset(Int32value)}

Property Value

The next number used when creating labels for this一个nAutomationObject. The default value is 1.

Remarks

When the automation object creates new object from this template. It can use the values ofNextNumberandLabelTemplateto automatically create a label and set its value for the new object.

If the value ofLabelTemplateisnull(The default value), then the automation object will not try to create a new label as follows:

  • If the value ofLabelTemplateisnull, then new label is created.

  • Else, the automation will check if the object has a label in its一个nObject.Labelscollection with the name "AnnObjectName". This label is created by default by LEADTOOLS whenever a new一个nObjectis created. The automation will then set the value of the label toLabelTemplate. If the template contain the string "##", it will be replaced by the value ofNextNumber. (Default of 1) andNextNumberis then incremented by 1.

Requirements

Target Platforms

Leadtools.Annotations.Automation Assembly
188金宝搏的网址客服|Support|Contact Us|Intellectual Property Notices
© 1991-2021LEAD Technologies, Inc.All Rights Reserved.