createSize static method

IPropertyValue createSize(
  1. Size value
)

Implementation

static IPropertyValue createSize(Size value) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);

  try {
    return IPropertyValueStatics.fromRawPointer(activationFactory)
        .createSize(value);
  } finally {
    free(activationFactory);
  }
}