Version

RectOffsets Structure

Used to specify portion of a source rectangle in terms of percentage of width and height of the source rectangle.
Syntax
'Declaration
 
Public Structure RectOffsets 
   Inherits System.ValueType
public struct RectOffsets : System.ValueType 
Remarks

RectOffsets structure represents a relative portion of a source rectangle in terms of offsets from each edge of the source rectangle. Each offset is specified in terms of percentage of width or height of the source rectangle. For example, given a source rectangle of with x,y of 0,0 and width,height of 200,200 - RectOffsets with Left,Top,Right,Bottom values of 5,10,20,30 would result in the rectangle with x,y of 10,20 and width,height of 150,120.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also