API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCamera Class > OdCamera Methods > OdCamera::getField Method
OdCamera::getField Method
Syntax
C++
void getField(double& width, double& height) const;
Parameters 
Description 
double& width 
[out] A placeholder for the width value of the camera field.  
double& height 
[out] A placeholder for the height value of the camera field. 

Returns the current camera field information. The method fills the passed double values with width and height of the camera field and returns them to a calling subroutine. 

 

Camera field width and height are measured in object units.

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