Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
UsePhotometricInterpretation Property
See Also 
Leadtools.Codecs Namespace > CodecsTiffOptions.CodecsTiffSaveOptions Class : UsePhotometricInterpretation Property



Enables or disables using Photometric Interpretation when saving TIFF files.

Syntax

Visual Basic (Declaration) 
Public Property UsePhotometricInterpretation As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsTiffOptions.CodecsTiffSaveOptions
Dim value As Boolean
 
instance.UsePhotometricInterpretation = value
 
value = instance.UsePhotometricInterpretation
C# 
public bool UsePhotometricInterpretation {get; set;}
C++/CLI 
public:
property bool UsePhotometricInterpretation {
   bool get();
   void set (bool value);
}

Return Value

true to use Photometric Interpretation when saving TIFF files; otherwise, false.

Example

For an example, refer to CodecsTiffOptions.

Remarks

To use Photometric Interpretation when saving TIFF files, first, set the value of this property to true, then set the interpretation value desired in PhotometricInterpretation prior of calling RasterCodecs.Save.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also