Click or drag to resize

TwainImageLayout Class

This class is used with the SendCommand method to get or set image layout data.
Inheritance Hierarchy
SystemObject
  Atalasoft.TwainTwainImageLayout

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class TwainImageLayout : ITwainDataStructure

The TwainImageLayout type exposes the following members.

Constructors
  NameDescription
Public methodTwainImageLayout
Creates a new instance of TwainImageLayout.
Public methodTwainImageLayout(RectangleF)
Creates a new instance of TwainImageLayout setting the Frame.
Public methodTwainImageLayout(RectangleF, Int32, Int32, Int32)
Creates a new instance of TwainImageLayout setting the frame, frame number, page number and document number.
Top
Properties
  NameDescription
Public propertyDocumentNumber
Gets or sets the document number for this layout.
Public propertyFrame
Gets or sets the area of the device to scan.
Public propertyFrameNumber
Gets or sets the frame number when multiple frames are being set for acquisition.
Public propertyPageNumber
Gets or sets the page number this layout refers to.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetStructurePointer
Creates the memory pointer containing data sent to Twain.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsSupportedCommand
Returns a value indicating whether the implementing class supports a specific TwainTriplet command.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessResult
Receives the data pointer created by GetStructurePointer(TwainMemory) after being processed by Twain.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This class can only be used with the ImageLayoutGet, ImageLayoutGetDefault, ImageLayoutReset and ImageLayoutSetTwainTriplet values.
See Also