All products / Saraff.Twain.DS / Contents
ImageDataSourceService Category
- ImageLayoutAttribute - Define information on the physical layout of the image on the acquisition platform of the Source(e.g.the glass of a flatbed scanner,the size of a photograph, etc.).
[ImageLayout(1f, 2f, 3f, 4f)] public sealed class ScreenDataSource:BitmapDataSource {
Instead of using the ImageLayoutAttribute you can override ImageDataSource.DefaultImageLayout property.
protected override RectangleF DefaultImageLayout {
get {
return new RectangleF(1f, 2f, 3f, 4f);
}
}