Gets or sets the current automation rubber stamp object type.
Syntax
XAML Attributes Usage | |
---|
<object CurrentRubberStampType=Leadtools.Windows.Annotations.AnnRubberStampType .../> |
XAML Attributes Usage | |
---|
<object CurrentRubberStampType=Leadtools.Windows.Annotations.AnnRubberStampType .../> |
Return Value
An
AnnRubberStampType value that specifies the current automation rubber stamp object type.
Example
This example sets "void" as the current automation rubber stamp type.
Visual Basic | Copy Code |
---|
Private Sub AnnAutomationManager_CurrentRubberStampType(ByVal manager As AnnAutomationManager)
manager.CurrentRubberStampType = AnnRubberStampType.Void
manager.CurrentObjectId = AnnAutomationManager.RubberStampObjectId
End Sub |
C# | Copy Code |
---|
private void AnnAutomationManager_CurrentRubberStampType(AnnAutomationManager manager) { // if you are using the automation toolbar, notice the rubber stamp button gets selected as well and the void menu item gets selected manager.CurrentRubberStampType = AnnRubberStampType.Void; // select rubber stamp as the current object manager.CurrentObjectId = AnnAutomationManager.RubberStampObjectId; } |
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family
See Also