LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SetUseNewPicture Method
See Also 
Leadtools.Annotations Namespace > AnnRubberStampObject Class : SetUseNewPicture Method



type
An AnnRubberStampType value that represents the type of the rubber stamp.
value
true to use the new default picture for all AnnRubberStampObject objects with AnnRubberStampObject.Type set to type; otherwise, false to use the orginal default picture.

The SetUseNewPicture 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 use the new default picture for all AnnRubberStampObject objects with AnnRubberStampObject.Type set to type; otherwise, false to use the orginal default picture.
Sets a value to indicate whether to use the new default picture for an AnnRubberStampObject type.

Syntax

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

Parameters

type
An AnnRubberStampType value that represents the type of the rubber stamp.
value
true to use the new default picture for all AnnRubberStampObject objects with AnnRubberStampObject.Type set to type; otherwise, false to use the orginal default picture.

Example

Remarks

LEADTOOLS has developed new default images for the predefined rubber stamp annotations. Use the GetUseNewPicture function to get a value that indicates whether the new default pictures are being used. Set this function to true to use the new default picture. For more information, refer to New Annotation Features of Version 14.5.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features