Edit

Share via


CGRect.Width Property

Definition

Gets or sets the width of this CGRect structure.

public nfloat Width { get; set; }
member this.Width : nfloat with get, set

Property Value

Remarks

Changing the Width property will also cause a change in the Right property of the CGRect. The units the rectangle is drawn in is determined by the P:System.Drawing.Graphics.PageUnit and P:System.Drawing.Graphics.PageScale properties of the graphics object used for drawing. The default unit is pixels.

Applies to