Example #1
0
 public static extern D2fErrorCode d2ffntap_Apply(ContextSafeHandle pd2fctx, ObjectSafeHandle pd2ffnt, ObjectSafeHandle pd2fob, VisualAttributeType vat_typ);
Example #2
0
 /// <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);
 }
Example #3
0
        /// <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);
        }
Example #4
0
        /// <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);
        }