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); }
public BaseObject Create() { RichTextRenderMeasure emptyInstance = new RichTextRenderMeasure(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }