createRectArray static method

IPropertyValue createRectArray(
  1. int valueSize,
  2. Pointer<Rect> value
)

Implementation

static IPropertyValue createRectArray(int valueSize, Pointer<Rect> value) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);

  try {
    return IPropertyValueStatics.fromRawPointer(activationFactory)
        .createRectArray(valueSize, value);
  } finally {
    free(activationFactory);
  }
}