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



Gets or sets the RasterCodecs used when loading the images of objects that implement the IAnnPictureObject interface.

Syntax

Visual Basic (Declaration) 
Public Property RasterCodecs As RasterCodecs
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationManager
Dim value As RasterCodecs
 
instance.RasterCodecs = value
 
value = instance.RasterCodecs
C# 
public RasterCodecs RasterCodecs {get; set;}
C++/CLI 
public:
property RasterCodecs^ RasterCodecs {
   RasterCodecs^ get();
   void set (    RasterCodecs^ value);
}

Property Value

A RasterCodecs object used when loading the images of objects that implement the IAnnPictureObject interface.

Remarks

If you set this value to a valid RasterCodecs object, this AnnAutomationManager will use the RasterCodecs object to load the images of objects that implement the IAnnPictureObject interface. After that, the manager will use the RasterImageConverter.ConvertToImage method to convert the Leadtools.RasterImage loaded into an System.Drawing.Image. Using a RasterCodecs allows the manager to load many more different image file formats than the formats that GDI+ supports.

If you set the value of this property to null (Nothing in Visual Basic), this AnnAutomationManager will use GDI+ to load the images.

For more information regarding the IAnnPictureObject interface, refer to Using Pictures in Annotation Objects.

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