BitmapData.Stride Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the stride width (also called scan width) of the Bitmap object.
public:
property int Stride { int get(); void set(int value); };
public int Stride { get; set; }
member this.Stride : int with get, set
Public Property Stride As Integer
Property Value
The stride width, in bytes, of the Bitmap object.
Remarks
The stride is the width of a single row of pixels (a scan line), rounded up to a four-byte boundary. If the stride is positive, the bitmap is top-down. If the stride is negative, the bitmap is bottom-up.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.