Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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;}
Managed Extensions for C++ 
public: __property RasterCodecs get_RasterCodecs();
public: __property void set_RasterCodecs( 
   RasterCodecs value
);
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 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