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.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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7