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

Return 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 ConvertToGdiPlusImage method to convert the RasterImage loaded into an 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 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