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



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.
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.
Sets the default picture for an AnnRubberStampObject type.

Syntax

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.

Example

For C#/VB examples, refer to GetDefaultPicture.

Remarks

Use the GetDefaultPicture to get the default picture used by the AnnRubberStampObject objects. Use the AnnRubberStampObject.GetUseOriginalPicture and AnnRubberStampObject.SetUseOriginalPicture to control whether an AnnRubberStampObject will use the default or original picture for a certain type.

Requirements

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

See Also

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