Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
PhotoInterpolation Property
See Also 
Leadtools.Codecs Namespace > CodecsLoadInformationEventArgs Class : PhotoInterpolation Property




Gets or sets the photometric interpolation for the load process.

Syntax

Visual Basic (Declaration) 
Public Property PhotoInterpolation As CodecsPhotoInterpolation
Visual Basic (Usage)Copy Code
Dim instance As CodecsLoadInformationEventArgs
Dim value As CodecsPhotoInterpolation
 
instance.PhotoInterpolation = value
 
value = instance.PhotoInterpolation
C# 
public CodecsPhotoInterpolation PhotoInterpolation {get; set;}
Managed Extensions for C++ 
public: __property CodecsPhotoInterpolation get_PhotoInterpolation();
public: __property void set_PhotoInterpolation( 
   CodecsPhotoInterpolation value
);
C++/CLI 
public:
property CodecsPhotoInterpolation PhotoInterpolation {
   CodecsPhotoInterpolation get();
   void set (CodecsPhotoInterpolation value);
}

Return Value

The photometric interpolation for the load process. Possible values are:

When Format is one of the following:

The value of PhotoInterpolation is as follows:

ValueMeaning
CodecsPhotoInterpolation.WhiteIsZeroWhite is zero
CodecsPhotoInterpolation.BlackIsZeroBlack is zero

When Format is RasterImageFormat.RawPackBits, the value of PhotoInterpolation is as follows:

ValueMeaning
CodecsPhotoInterpolation.NoColorMapThere is no color map (RGB)
CodecsPhotoInterpolation.CmykSeparated CMYK
CodecsPhotoInterpolation.YcbCrYC b C r color space
CodecsPhotoInterpolation.CieLab1976 CIE L*a*b

Example

For an example, refer to RasterCodecs.LoadInformation.

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