Gets or sets the current automation rubber stamp object type.
Syntax
Property 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)
' 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
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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also