RenderCenter property (Main Control)

Visual Basic example
Visual C++ example

Syntax BOOL RenderCenter;

Overview:  Refer to Printing an Image.

Remarks

Gets or sets a value that indicates whether an image is centered when it is printed or displayed in any device context, using the Render method. This property is only used if one of the following is true:

Possible values are:

Setting

Description

TRUE

If only the fLeft parameter of the Render method is 0, the image will be centered horizontally; if only the fTop parameter of the Render method is 0, the image will be centered vertically; if both the fLeft and the fTop parameters of the Render method are 0, the image will be centered horizontally and vertically.

FALSE

The image will not be centered, but will be rendered at position fLeft, fTop on the DC.

See Also

Elements:  Render method, PrintEnd method, PrintStart method

Topics:  Raster Images: Printing Images