Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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;}
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also