Leadtools.Pdf Requires PDF Plug-in license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
ValidColors Property
See Also 
Leadtools.Pdf Namespace > PdfCompressorSegmentsInfo Class : ValidColors Property




Gets or sets a value that indicates the number of colors contained in a segment.

Syntax

Visual Basic (Declaration) 
Public Property ValidColors As Integer
Visual Basic (Usage)Copy Code
Dim instance As PdfCompressorSegmentsInfo
Dim value As Integer
 
instance.ValidColors = value
 
value = instance.ValidColors
C# 
public int ValidColors {get; set;}
Managed Extensions for C++ 
public: __property int get_ValidColors();
public: __property void set_ValidColors( 
   int value
);
C++/CLI 
public:
property int ValidColors {
   int get();
   void set (int value);
}

Return Value

A value that indicates the number of colors contained in a segment.

Example

Refer to PdfCompressor example.

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

Leadtools.Pdf requires a PDF Plug-in license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features