Leadtools.Annotations Namespace > AnnAutomationManager Class : RasterCodecs Property |
public RasterCodecs RasterCodecs {get; set;}
'Declaration Public Property RasterCodecs As RasterCodecs
'Usage Dim instance As AnnAutomationManager Dim value As RasterCodecs instance.RasterCodecs = value value = instance.RasterCodecs
public: property RasterCodecs^ RasterCodecs { RasterCodecs^ get(); void set ( RasterCodecs^ value); }
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.