View on GitHub

SARAFF SOFTWARE

All products / Saraff.Twain.DS / Contents

ImageDataSourceService Category

Instead of using the ImageLayoutAttribute you can override ImageDataSource.DefaultImageLayout property.

protected override RectangleF DefaultImageLayout {
    get {
        return new RectangleF(1f, 2f, 3f, 4f);
    }
}