AODL.Document.Content.Draw.Frame.Frame C# (CSharp) Method

Frame() public method

Initializes a new instance of the Frame class.
public Frame ( IDocument document, string stylename ) : System
document IDocument The textdocument.
stylename string The stylename.
return System
		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);
			}
		}

Same methods

Frame::Frame ( IDocument document, string stylename, string drawName, string graphicfile ) : System