public Frame(IDocument document, string stylename)
{
this.Document = document;
this.NewXmlNode();
this.InitStandards();
if (stylename != null)
{
this.Style = (IStyle)new FrameStyle(this.Document, stylename);
this.StyleName = stylename;
this.Document.Styles.Add(this.Style);
}
}