The SetUseOriginalPicture Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- 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.
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.
For an example, refer to Leadtools.Annotations.AnnRubberStampObject.GetDefaultPicture.
Use the Leadtools.Annotations.AnnRubberStampObject.GetDefaultPicture to get the current default picture used by the AnnRubberStampObject objects. Use the SetDefaultPicture to change the default picture. Use GetUseOriginalPicture to check whether the AnnRubberStampObject of a certain type is currently using the default picture.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7