Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
TopMargin Property
See Also 
Leadtools.Twain Namespace > TwainImageResolutionProperties Structure : TopMargin Property




Gets or sets the top margin of the scanning area.

Syntax

Visual Basic (Declaration) 
Public Property TopMargin As Single
Visual Basic (Usage)Copy Code
Dim instance As TwainImageResolutionProperties
Dim value As Single
 
instance.TopMargin = value
 
value = instance.TopMargin
C# 
public float TopMargin {get; set;}
Managed Extensions for C++ 
public: __property float get_TopMargin();
public: __property void set_TopMargin( 
   float value
);
C++/CLI 
public:
property float TopMargin {
   float get();
   void set (float value);
}

Return Value

The top margin of the scanning area.

Example

Refer to ImageResolution 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