LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
WhiteOnBlack Property
See Also 
Leadtools.Codecs Namespace > CodecsLoadInformationEventArgs Class : WhiteOnBlack Property



Gets or sets a value that determines if the image is black-on-white or white on black.

Syntax

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

Property Value

true if the image is white-on-black, false if the image is black on white.

Example

For an example, refer to RasterCodecs.LoadInformation.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also