/// <summary> /// Create the paragraphs object if undefined /// </summary> /// <returns></returns> private bool Init() { if (this.font == null && this.paragraph != null) { this.font = this.paragraph.UnderlyingObject.Font; } return(true); }
private void Init() { if (this.paragraph != null) { this.font = this.paragraph.GetUnderlyingObject().Font; } if (this.character != null) { this.font = this.character.GetUnderlyingObject().Font; } }
public Font(Office.Font2 font, Func <object> parentInvoke) { this.font = font; this.parentInvoke = parentInvoke; }
public Font(Office.Font2 font) { this.font = font; }
public Font(Office.Font2 font, Func<object> parentInvoke) { this.font = font; this.parentInvoke = parentInvoke; }
private void Init() { if(this.paragraph != null) { this.font = this.paragraph.GetUnderlyingObject().Font; } if (this.character != null) { this.font = this.character.GetUnderlyingObject().Font; } }