API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdSlideTable Class > OdSlideTable Methods > OdSlideTable::setDimensions Method
OdSlideTable::setDimensions Method
Syntax
C++
void setDimensions(const OdDoubleArray& column_proportions, const OdUInt32 row_height);
Parameters 
Description 
const OdDoubleArray& column_proportions 
[in] An array that contains column width proportions. The array size should match the count of the slide table columns.  
const OdUInt32 row_height 
[in] A new row height value. 

Sets column width proportions and row height for the slide table. 

 

The column_proportions parameter defines the width of columns in proportional units with a range between 0.0 and 1.0. The sum of column width proportions must be equal to 1.0. The size of the slide table is determined by the location rectangle passed to the addSlideTable() method of the OdPdfPublish::OdPage page object.

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