Sets the current scale of the VectorImage.
GSErrCode SetCapacity ( ULong capacity );
- The desired new capacity in bytes.
If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.
If you want to avoid the frequent reallocation of memory then you should guess the final size of the VectorImage and set it as the capacity at the beginning of the additions.
- Version:API 10.0 or later, ModelerGraphics 8 or later
- Library:ModelerGraphicsImp.lib (Win) or ModelerGraphics.framework (Mac)