This project has moved. For the latest updates, please go here.

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);

Last edited Jul 31, 2016 at 10:46 AM by SARAFF, version 2