User`s manual

Features
Basler aviator Camera Link 143
Setting the Image AOI Using Basler pylon
You can use the pylon API to set the Width and Height parameter values from within your
application software. The following code snippets illustrate using the API to get the maximum
allowed settings and the increments for the Width and Height parameters. They also illustrate
setting the Width and Height parameter values.
// Get max width allowed, get width increment, set the width.
int64_t widthMax = Camera.Width.GetMax( );
int64_t widthInc = Camera.Width.GetInc();
Camera.Width.SetValue( 200 );
// Get max height allowed, get height increment, set the height.
int64_t heightMax = Camera.Height.GetMax( );
int64_t heightInc = Camera.Height.GetInc();
Camera.Height.SetValue( 200 );
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon API and the pylon Viewer, see Section 4 on page 45.