Gets or sets the current automation rubber stamp object type.
public Leadtools.Windows.Annotations.AnnRubberStampType CurrentRubberStampType {get; set;}
Public Property CurrentRubberStampType As Leadtools.Windows.Annotations.AnnRubberStampType
public:
property Leadtools.Windows.Annotations.AnnRubberStampType CurrentRubberStampType {
Leadtools.Windows.Annotations.AnnRubberStampType get();
void set ( Leadtools.Windows.Annotations.AnnRubberStampType );
}
An AnnRubberStampType value that specifies the current automation rubber stamp object type.
The current automation rubber stamp type is the Type of the AnnRubberStampObject currently selected in the ToolBar. This object is the "active" object to be drawn on the current active AnnAutomation. You can change the value of this property programmatically. It can also change if the user makes a selection from the automation ToolBar or selects a type in the Rubber Stamp Properties dialog.
The CurrentRubberStampTypeChanged event is fired when this property is changed.
This example sets "void" as the current automation rubber stamp type.
Imports Leadtools.Windows.Controls
Imports Leadtools.Windows.Annotations
Private 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
using Leadtools.Windows.Controls;
using Leadtools.Windows.Annotations;
using Leadtools.Demos;
using Leadtools.Help;
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;
}
using Leadtools.Windows.Controls;
using Leadtools.Windows.Annotations;
using Leadtools.Examples;
using Leadtools.Silverlight.Demos;
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;
}
Imports Leadtools.Windows.Controls
Imports Leadtools.Windows.Annotations
Imports Leadtools.Silverlight.Demos
Private 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
Products |
Support |
Feedback: CurrentRubberStampType Property - Leadtools.Windows.Annotations |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.