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




Gets or sets the top margin value of a TW_FRAME structure.

Syntax

Visual Basic (Declaration) 
Public Property TopMargin As Single
Visual Basic (Usage)Copy Code
Dim instance As TwainFrame
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 value of a TW_FRAME structure.

Example

Refer to RightMargin.

Remarks

The TW_FRAME structure defines the area of the image to be acquired. For more information on the TW_FRAME structure, refer to http://www.twain.org.
For more information, refer to How to Work with the Container.

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