void CBCGPChartObject::SetObjectSize | ( | const CBCGPSize | sz, |
BOOL | bRedraw = FALSE |
||
) |
Sets custom object size.
Size of Chart Objects is calculated automatically, if possible, therefore you can specify only top-left or right-bottom corners and the missing coordinates will be calculated by the framework according to the object size (calculated or custom) and formatting (content padding). The same is true for custom object size. If you set all coordinates, it overrides the object size settings.
sz | Custom object size. |
bRedraw | TRUE - redraw the Chart. |