Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
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;}
Managed Extensions for C++ 
public: __property bool get_WhiteOnBlack();
public: __property void set_WhiteOnBlack( 
   bool value
);
C++/CLI 
public:
property bool WhiteOnBlack {
   bool get();
   void set (bool value);
}

Return 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: 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