Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SetUseOriginalPicture Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnRubberStampObject Class : SetUseOriginalPicture Method



type
An AnnRubberStampType value that represents the type of the rubber stamp.
value
true to revert back to the original picture used for all AnnRubberStampObject objects with AnnRubberStampObject.Type set to type; otherwise, false to use the new picture if any.
type
An AnnRubberStampType value that represents the type of the rubber stamp.
value
true to revert back to the original picture used for all AnnRubberStampObject objects with AnnRubberStampObject.Type set to type; otherwise, false to use the new picture if any.
Sets a value to indicate whether to revert back to the original picture for an AnnRubberStampObject type.

Syntax

Visual Basic (Declaration) 
Public Shared Sub SetUseOriginalPicture( _
   ByVal type As AnnRubberStampType, _
   ByVal value As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim type As AnnRubberStampType
Dim value As Boolean
 
AnnRubberStampObject.SetUseOriginalPicture(type, value)
C# 
public static void SetUseOriginalPicture( 
   AnnRubberStampType type,
   bool value
)
C++/CLI 
public:
static void SetUseOriginalPicture( 
   AnnRubberStampType type,
   bool value
) 

Parameters

type
An AnnRubberStampType value that represents the type of the rubber stamp.
value
true to revert back to the original picture used for all AnnRubberStampObject objects with AnnRubberStampObject.Type set to type; otherwise, false to use the new picture if any.

Example

For C#/VB examples, refer to GetDefaultPicture.

Remarks

Use the GetDefaultPicture to get the current default picture used by the AnnRubberStampObject objects. Use the AnnRubberStampObject.SetDefaultPicture to change the default picture. Use AnnRubberStampObject.GetUseOriginalPicture to check whether the AnnRubberStampObject of a certain type is currently using the default picture.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

SetUseOriginalPicture requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.