Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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 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
)
Managed Extensions for 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 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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