Exemple #1
0
                    public static RichTextRenderMeasure FromBaseObject(BaseObject baseObj)
                    {
                        if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                        {
                            return(null);
                        }
                        RichTextRenderMeasure obj = baseObj as  RichTextRenderMeasure;

                        if (object.Equals(obj, null))
                        {
                            obj = new RichTextRenderMeasure(CreatedWhenConstruct.CWC_NotToCreate);
                            obj.BindNativeObject(baseObj.NativeObject, "CRichTextRenderMeasure");
                            obj.IncreaseCast();
                        }

                        return(obj);
                    }
Exemple #2
0
                    public BaseObject Create()
                    {
                        RichTextRenderMeasure emptyInstance = new RichTextRenderMeasure(CreatedWhenConstruct.CWC_NotToCreate);

                        return(emptyInstance);
                    }