The SetDefaultPicture Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- type
- An AnnRubberStampType value that represents the type of the rubber stamp.
- picture
- An AnnPicture class that defines the picture for the AnnRubberStampType specified by type.
| Visual Basic (Declaration) | |
|---|---|
Public Shared Sub SetDefaultPicture( _ ByVal type As AnnRubberStampType, _ ByVal picture As AnnPicture _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim type As AnnRubberStampType Dim picture As AnnPicture AnnRubberStampObject.SetDefaultPicture(type, picture) | |
| C# | |
|---|---|
public static void SetDefaultPicture( AnnRubberStampType type, AnnPicture picture ) | |
| C++/CLI | |
|---|---|
public: static void SetDefaultPicture( AnnRubberStampType type, AnnPicture^ picture ) | |
Parameters
- type
- An AnnRubberStampType value that represents the type of the rubber stamp.
- picture
- An AnnPicture class that defines the picture for the AnnRubberStampType specified by type.
For an example, refer to Leadtools.Annotations.AnnRubberStampObject.GetDefaultPicture.
Use the Leadtools.Annotations.AnnRubberStampObject.GetDefaultPicture to get the default picture used by the AnnRubberStampObject objects. Use the GetUseOriginalPicture and SetUseOriginalPicture to control whether an AnnRubberStampObject will use the default or original picture for a certain type.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code