Method WithBounds
WithBounds(Twips, Twips, Twips, Twips)
Returns a copy of this region with another position and size and everything else unchanged.
public LinkRegion WithBounds(Twips x, Twips y, Twips width, Twips height)
Parameters
xTwipsLeft coordinate in twips.
yTwipsTop coordinate in twips.
widthTwipsWidth in twips.
heightTwipsHeight in twips.
Returns
- LinkRegion
The moved copy.
Remarks
For code that maps primitives to another geometry, such as a page turned a quarter: rebuilding a region from its constructor's arguments loses whatever the constructor does not take, which is how a turned link once lost its structure element and text.