Gets or sets the current automation rubber stamp object type.
Syntax
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 |
---|
Public Sub AnnAutomationManager_CurrentRubberStampType(ByVal manager As AnnAutomationManager)
manager.CurrentRubberStampType = AnnRubberStampType.Void
manager.CurrentObjectId = AnnAutomationManager.RubberStampObjectId
End Sub |
C# | Copy Code |
---|
public 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 Server 2003 family, Windows Server 2008 family
See Also