API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCamera Class > OdCamera Methods > OdCamera::zoom Method
OdCamera::zoom Method
Syntax
C++
void zoom(double zoom);
Parameters 
Description 
double zoom 
[in] A zoom scale value. 

Zooms the camera view field by a specified scale factor. 

 

The zoom operation means that the size of the related view field is recalculated using the proportion specified in the zoom parameter. If the zoom parameter value is greater than 1.0, objects on the screen become larger. If the zoom parameter is less than 1.0 and greater than 0.0, objects on the screen become smaller.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.