PEHeader.FileAlignment 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 the alignment factor (in bytes) that is used to align the raw data of sections in the image file.
public:
property int FileAlignment { int get(); };
public int FileAlignment { get; }
member this.FileAlignment : int
Public ReadOnly Property FileAlignment As Integer
Property Value
A power of 2 between 512 and 64K, inclusive. The default is 512.
Remarks
If the SectionAlignment is less than the architecture's page size, then FileAlignment must match SectionAlignment.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.