Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
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

For an example, refer to GetDefaultPicture.

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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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