←Select platform

RasterCodecs Property

Summary

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

Syntax

C#
VB
C++
public RasterCodecs RasterCodecs { get; set; } 
  
Public Property RasterCodecs As Leadtools.Codecs.RasterCodecs 
public: 
property Leadtools.Codecs.RasterCodecs^ RasterCodecs { 
   Leadtools.Codecs.RasterCodecs^ get(); 
   void set (    Leadtools.Codecs.RasterCodecs^ ); 
} 

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 VB), this AnnAutomationManager will use GDI+ to load the images.

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

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly