internal TRichString GetText() { if (Dwg == null) { return(new TRichString()); } else { TEscherRecord R = Dwg.FindRoot(); if (R == null) { return(new TRichString()); } else { R = R.FindRec <TEscherClientTextBoxRecord>(); if (R == null) { return(new TRichString()); } else { return(((TEscherClientTextBoxRecord)R).GetValue()); } } } }
private TEscherImageAnchorRecord GetImageRecord() { if (Dwg == null) { return(null); } else { TEscherRecord R = Dwg.FindRoot(); if (R == null) { return(null); } else { R = R.FindRec <TEscherImageAnchorRecord>(); if (R == null) { return(null); } else { TEscherImageAnchorRecord Anchor = ((TEscherImageAnchorRecord)R); return(Anchor); } } } }
internal void SetText(TRichString value) { if (Dwg == null) { return; } else { TEscherRecord R = Dwg.FindRoot(); if (R == null) { return; } else { R = R.FindRec <TEscherClientTextBoxRecord>(); if (R == null) { return; } else { ((TEscherClientTextBoxRecord)R).SetValue(value); } } } }
internal TEscherOPTRecord GetOpt() { if (Dwg == null) { return(null); } else { TEscherRecord R = Dwg.FindRoot(); if (R == null) { return(null); } else { R = R.FindRec <TEscherOPTRecord>(); return((TEscherOPTRecord)R); } } }
internal TEscherClientTextBoxRecord GetClientTextBox() { if (Dwg == null) { return(null); } else { TEscherRecord R = Dwg.FindRoot(); if (R == null) { return(null); } else { R = R.FindRec <TEscherClientTextBoxRecord>(); return((TEscherClientTextBoxRecord)R); } } }