View on GitHub

SARAFF SOFTWARE

All products / Saraff.Twain.DS / Contents

CurrentImageLayout

Gets or sets the current image layout.

Syntax

protected virtual RectangleF CurrentImageLayout {
    get;
    set;
}

Property Value

The current image layout.

Examples

protected override RectangleF CurrentImageLayout {
    get {
        return base.CurrentImageLayout;
    }
    set {
        if(value.Right>this.DefaultImageLayout.Right||value.Bottom>this.DefaultImageLayout.Bottom) {
            throw new ArgumentException();
        }
        base.CurrentImageLayout=value;
    }
}