public static extern D2fErrorCode d2ffntap_Apply(ContextSafeHandle pd2fctx, ObjectSafeHandle pd2ffnt, ObjectSafeHandle pd2fob, VisualAttributeType vat_typ);
/// <summary> /// Extracts the font declaration from an object. /// </summary> /// <param name="obj">Object.</param> /// <param name="type">Visual attribute type.</param> public Font(NdapiObject obj, VisualAttributeType type) : this() { Extract(obj, type); }
/// <summary> /// Extract the font declaration from the specified object. /// </summary> /// <param name="obj">Object.</param> /// <param name="type">Visual attribute type.</param> public void Extract(NdapiObject obj, VisualAttributeType type) { var status = NativeMethods.d2ffntex_Extract(NdapiContext.GetContext(), _handle, obj._handle, type); Ensure.Success(status); }
/// <summary> /// Apply the coordinate declaration to the specified form module. /// </summary> /// <param name="module">Form module to be changed.</param> /// <param name="type">Visual attribute type.</param> public void Apply(NdapiObject module, VisualAttributeType type) { var status = NativeMethods.d2ffntap_Apply(NdapiContext.GetContext(), _handle, module._handle, type); Ensure.Success(status); }