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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also